Ask HN: What code do you frequently read?
31–40 of 64 posts
Re: Ask HN: What code do you frequently read?
#32Re: Ask HN: What code do you frequently read?
#33My goal is to complete a game in C++ using SDL2 this year, so i've been reading a ton of that on Github just to see how other people do it.
Re: Ask HN: What code do you frequently read?
#34Re: Ask HN: What code do you frequently read?
#35My goal is to complete a game in C++ using SDL2 this year, so i've been reading a ton of that on Github just to see how other people do it.
If you're not already following it, check out Handmade Hero ( https://handmadehero.org/ ). Great, free video series from Casey Muratori that guides you through building a game from scratch.
Unfortunately, he's up to day 75 and i'm still on day 11.
Re: Ask HN: What code do you frequently read?
#36Golang stdlib is an excellent reference for how to write idiomatic Go code https://github.com/golang/go/tree/master/src
Re: Ask HN: What code do you frequently read?
#37Usually you don't just go read source code for the heck of it. You read the source code either to contribute a feature or fix a bug. There's no point in reading the src otherwise because you won't find a good enough reason to try to fully understand it.
Re: Ask HN: What code do you frequently read?
#38Golang stdlib is an excellent reference for how to write idiomatic Go code https://github.com/golang/go/tree/master/src
* Do the tour (tour.golang.org)
* Read 'How to Write Go Code'
* Try to write a simple, concurrent program (I went with a web crawler)
* Read 'Effective Go', stdlib code
And now I'm trying to make the concurrent web crawler distributed! It's a lot of fun so far.