5 ms·
So this is a good place to list really nice codebases. sqlite is a fantastic piece of source code, totally worth reading.
by weeksie 10y ago
So this is a good place to list really nice codebases. sqlite is a fantastic piece of source code, totally worth reading.
- ppsg 10y agoQuake 3 is my favorite, to go look for inspiration when stuck. And I'm pretty far removed from game development.
- japhyr 10y agoFor 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 https://github.com/kennethreitz/requests [1] - Requests documentation: http://docs.python-requests.org/en/master/ http://docs.python-requests.org/en/master/ [2] - Django code: https://github.com/django/django https://github.com/django/django [3] - Django documentation: https://docs.djangoproject.com/en/1.10/ https://docs.djangoproject.com/en/1.10/
- matt_o 10y agoDjango 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 https://github.com/tornadoweb/tornado [1] - https://github.com/bottlepy/bottle https://github.com/bottlepy/bottle [2] - https://github.com/zzzeek/sqlalchemy https://github.com/zzzeek/sqlalchemy
- microtherion 10y agoIt'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/dp/0201134373/ref=sr_1_1?ie=UTF8&qid=1482267413&sr=8-1&keywords=tex+the+program https://www.amazon.com/Computers-Typesetting-B-TeX-Program/d...
- microtherion 10y agoFor historical kicks, it's hard to beat Lion's Commentary on UNIX 6th Edition: https://en.wikipedia.org/wiki/Lions'_Commentary_on_UNIX_6th_Edition,_with_Source_Code https://en.wikipedia.org/wiki/Lions'_Commentary_on_UNIX_6th_...