Ask HN: What is a good “My First Reader” for source code?
I am a hobbyist programmer; I have programmed a few very simple 2d games, a 3D texture mapped terrain renderer, and some other small utilities all in C for a bit of context. I am looking for some good, and frankly easy, very small projects to read for an idea how "real programmers" engineer software and to simply learn. I am not all that interested in fancy, tricky algorithms or anything, just coherent and well engineered (and easy to digest) software. Any ideas where to start?
8 comments
[ 0.27 ms ] story [ 14.7 ms ] threadCheck out my project as well for some smaller projects suitable for reading [2]. I think we have the same ideas-finding smaller but good quality projects to read and learn. Feel free to connect (email in my bio).
[1] https://news.ycombinator.com/item?id=18293159 [2] https://github.com/CodeReaderMe/awesome-code-reading
They also have another sub-imprint, whose name is slipping my mind right now, focused on teaching technical topics very visually. The general layout of those books is very illustrated compared to typical technical books.
By extension, I gather they’re looking for examples of well-engineered programs small and simple enough for a true beginner to thoroughly grok within a short period. Presumably something in a few hundred lines of code that avoids unnecessary indirection or cleverness.
[0]: https://github.com/AlexanderEllis/js-reading-list