Handmade Hero»Forums»Code
2 posts
Is Handmade Hero a good way to learn programming?

... and learn algorithms, data structures, API design etc?

Simon Anciaux
1241 posts
Is Handmade Hero a good way to learn programming?

Handmade hero, assumes that you already know a little bit how to program. There is an introduction to C in the first week, but it can be hard if you've never programmed at all.

The series covers some common algorithms (sorting, hashing, random numbers, rendering...), data structures (link lists, hash tables, command buffers, free lists, voxels...) and Casey explains his way of designing API and what he consider good or bad APIs. In general the series shows you how you would work out problem so you can learn yourself.

If you're absolutely starting, you might want to find an introduction to C first and practice a little before watching handmade hero. You may also start by watching the intro to C videos and see it you can follow along. Note that you can use any text editor and that Casey doesn't use emacs anymore.

Also Casey is working on a beginner course but it's not out yet and won't be free.

https://starcodegalaxy.com/

Gaurav Gautam
47 posts
Is Handmade Hero a good way to learn programming?
Replying to mrmixer (#26802)

I am waiting for starcode galaxy so hard. And now hearing that its not free I'm even more excited. I have been thinking that there are so many bad "courses" on the internet charging obscene amounts to teach things I can read in documentations and know them better than the person teaching it, and HMH is just free... it makes no sense.

You mentioned somewhere that he uses his own editor outside of HMH. He wrote his own editor? Is that available somewhere to purchase? Although, I think I'm too used to vim to ever switch to emacs now and I think he would have probably made something similar to emacs...

Simon Anciaux
1241 posts
Is Handmade Hero a good way to learn programming?
Replying to gautam1168 (#26818)

In handmade hero, Casey started with emacs, than switched to 4coder. In some stream he mentioned that outside of streaming he uses his own editor but as far as I know it's not available and probably never will be.

65 posts
Is Handmade Hero a good way to learn programming?
Edited by Shastic on

If you don't know how to program at all, this was recommended by John Carmack. Learn something simple before you jump into C.

https://twitter.com/ID_AA_Carmack/status/1528470388384186369

65 posts
Is Handmade Hero a good way to learn programming?
Replying to gautam1168 (#26818)

"and HMH is just free... it makes no sense."

You can buy access to the source code for HMH, but it is so inexpensive anyone could afford it.

Gaurav Gautam
47 posts
Is Handmade Hero a good way to learn programming?
Replying to Shastic (#26832)

Yeah I have that already. But thats sold as a game not courseware.