Re:One Way to Improve Your Coding
by weeksie on Monday December 19, 2016 @02:00PM
(#13213968)
So this is a good place to list really nice codebases. sqlite is a fantastic piece of source code, totally worth reading.
[ Parent
| on HN ]
For Python, I really like reading Kenneth Reitz' code. For example the Requests library is pretty good reading [0]. When reading code, I like to have the documentation handy as well [1].
The Django project is also good reading. [2], [3]
[0] - Requests code: https://github.com/kennethreitz/requests
[1] - Requests documentation: http://docs.python-requests.org/en/master/
[2] - Django code: https://github.com/django/django
[3] - Django documentation: https://docs.djangoproject.com/en/1.10/
Django does have some really clean code and it is very easy to navigate. I feel like I only grokked Django after I started going through its internals.
I also highly recommend giving Tornado[0] and Bottle[1] a read. Outside of the the web stuff, Sqlalchemy[2] is good
[0] - https://github.com/tornadoweb/tornado [1] - https://github.com/bottlepy/bottle [2] - https://github.com/zzzeek/sqlalchemy
Quake 3 is my favorite, to go look for inspiration when stuck. And I'm pretty far removed from game development.
Re:One Way to Improve Your Coding
by microtherion on Tuesday December 20, 2016 @03:59PM
(#13223903)
It's a bit old, of course, but TeX: The Program is still a fascinating read because of the exceptional attention that Knuth has paid to exposition, especially for a program that size. Besides, TeX is still being used after almost 40 years, so it's inarguable that Knuth did some things right.
https://www.amazon.com/Computers-Typesetting-B-TeX-Program/d...
Re:One Way to Improve Your Coding
by microtherion on Tuesday December 20, 2016 @04:00PM
(#13223917)
For historical kicks, it's hard to beat Lion's Commentary on UNIX 6th Edition: https://en.wikipedia.org/wiki/Lions'_Commentary_on_UNIX_6th_...