Ask HN: Good code to read for a beginner
Multiple sources (e.g. Eric Raymond&#x27;s &quot;How to Become a Hacker&quot;[0]) suggest reading others&#x27; code as a learning exercise when beginning programming, to get a feel for good style.<p>It seems a bit of a catch-22 though, as I don&#x27;t believe myself (or any other beginning programmer) to be able to discern worthwhile code for review.<p>That understanding in place, what are some of your suggestions for good code to read to get a feel for style and technique?<p>Note: I am working through MIT&#x27;s OCW CS material (still pretty beginner), and have picked up a pretty decent smattering of Python and Scheme thus far. These languages (including Common Lisp - I recognize that there are large differences between Scheme and CL, but I think I should be able to get the basics) would be most useful for me as I already have a pretty good foundation in them, but don&#x27;t hesitate to suggest good programs in other languages, as I will need to learn more at some point, and hopefully others will find this thread useful.<p>[0]http:&#x2F;&#x2F;www.catb.org&#x2F;~esr&#x2F;faqs&#x2F;hacker-howto.html#skills1