Dominik Hofer
Dominik Hofer

CS50 015

Started with lecture 3 – Algorithms

Back from Seoul, which means I have time to continue with CS50 🥳

Really enjoying learning about the more theoretical aspects of cs. E.g. I've heard of “Big O notation” before, but now I know what it actually means.

Dominik Hofer
Dominik Hofer

CS50 014

Problem set 2 done.

After a little break, I finally completed pset 2.

After Readability, I chose Wordle and it was pretty challenging. I'd say not as much as last week's problem due to the boilerplate code, but nonetheless very tricky.

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

CS50 013

Finished lecture 2 – Arrays

Things are ramping up a bit, but still very comprehensible and interesting. It was really satisfying to see, how the puzzle pieces began to click together towards the end of the lecture.

Curious, what the problem sets are about 👀

Show thread (3 posts)
Dominik Hofer
Dominik Hofer

CS50 012

Continued with lecture 2 – Arrays

Most disappointing thing was to learn that arrays in C don't have a length property like in essentially every other language.

Well… I guess this makes me modern languages even more – once again 🙃

Dominik Hofer
Dominik Hofer

CS50 011

Started with lecture 2 – Arrays

Learned more technical things about compiling and debugging. Plus also added a rubber duck to my shopping list 🦆

Dominik Hofer
Dominik Hofer

CS50 010

Problem set 1 done.

The Mario exercise was pretty straightforward, but the credit card one took me way longer than expected.

Mainly due to all the things that C doesn't do out of the box and I had to code myself.

But the feeling when seeing this console is 10/10!

Show thread (3 posts)
Dominik Hofer
Dominik Hofer

It's always a pleasure when a framework provides such a good extension for VS Code.

Just discovered this menu, kudos to @sveltejs 🙌

Dominik Hofer
Dominik Hofer

CS50 009

Finished lecture 1 – C

This last part was really interesting because it involved some CS history and the problems with integer overflow.

This showed me once again, that when writing code, you should do so responsibly.

Now onto the Mario problem set 🙌

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

CS50 008

Continued with lecture 1 – C

The programming fundamentals weren't new for me, but using C is definitely more challenging than JS.

Weirdly, I feel glad that I'm getting exposed to the quirks of C. I think this will help me appreciate modern languages more.

Dominik Hofer
Dominik Hofer

Did you know that there is an HTTP status code where the server tells the user that it refuses to brew coffee because it is permanently a teapot?

Me neither.

But this is exactly the humor that I love the internet for :)

Dominik Hofer
Dominik Hofer

CS50 007

Started with lecture 1 – C

New language, new adventure. But really glad to be back in a familiar environment aka @code.

Also, the Ctrl + L shortcut to clear the console was new to me, no more typing the word itself ^^

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

CS50 006

Problem set 0 done – glad that I got this Scratch project over the finish line.

Scratch is a great tool for learning, but if you have some coding experience, you'll get frustrated with its limitations.

Looking forward to the next lecture with C ✌️

Dominik Hofer
Dominik Hofer

Quick CSS flexbox tip:

Use margin: auto to position a single child at the end of the parent (e.g. when using justify-content: flex-start, like below) 👇

Dominik Hofer
Dominik Hofer

CS50 005

Made some progress on problem set 0, the Scratch game – had some real middle-school flashbacks when working on it.

Still looking forward to working with a real programming language in the next lecture though 🙈

Dominik Hofer
Dominik Hofer

Bun is one of these projects that is a beautiful piece of engineering but also has a very cute mascot that almost overshadows it (which is totally reasonable, I mean look at this 🥹).

Dominik Hofer
Dominik Hofer

If you didn't know already, in the Chrome dev console, you can reference the currently selected DOM-element with $0 like below 👇

Dominik Hofer
Dominik Hofer

Currently building a little @framer override for @cedric_design's upcoming template.

It automatically sets an active variant for the current nav item and thus eliminates the need for manually creating variants for each nav state.

Anyone interested in using this too? 👀

Dominik Hofer
Dominik Hofer

You can say what you want about Youtube's algorithm, but it's really good at recommending videos that one would have never searched for but are really interesting to watch.

I see how this can become problematic, but in it's core, it's just a magical piece of software.

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

CS50 004

Idea for the game 👾

The plan is to build a little F1 game called “React & Race”, where the player has to quickly react to flashing emojis and press the right key in order to move forward.

Stay tuned for “"The Fastest Game on the Emojiway!” 😉

Dominik Hofer
Dominik Hofer

CS50 003

Finished lecture 0.

Learned more about how to use the basic building blocks of code inside Scratch and how to use them to build simple games.

Now onto problem set 0 👨‍💻

Follow

RSS Feeds