Live data from Hacker News

Code which every programmer must read before dying

news.ycombinator.com

31–38 of 38 posts

Re: Code which every programmer must read before dying

#33
WordPress - because it's extremely crappy but at the same time insanely accessible. Lots of lessons to learn.

Passenger - code looks good even though it's C++

Rails 3. Beautifully structured application foundation that's not just a pretty piece of code, it's tested and works.

JScheme. Reading this clean implementation and re-implementing it yourself gives a good basis of understanding for lisp.

Re: Code which every programmer must read before dying

#35
If you have only few minutes before execution, and want to fix an old X programming mystery, I would suggest dwm.c: http://hg.suckless.org/dwm/file/e901e70f69e8/dwm.c

It is so easy to understand inner workings of window manager in X reading this code, and you do not need much time for it (>2000 SLOC).

Re: Code which every programmer must read before dying

#36

If you have only few minutes before execution, and want to fix an old X programming mystery, I would suggest dwm.c: http://hg.suckless.org/dwm/file/e901e70f69e8/dwm.c It is so easy to understand inner workings of window manager in X reading this code, and you do not need much time for it (>2000 SLOC).

As a relatively new C programmer, I have followed the dwm source code while trying to make my own window manager. It has been very helpful.
Post reply on HN