I'm looking for examples of well-written code (open-source projects), for study material.<p>If you have come across code, from which you learnt a lot by reading it, please share.<p>Thanks!
Most recently for me, I saw Arthur's code which might not be what you're looking for. The origins of J[1], is publicly available C code, and even if it doesn't move you, consider spending some time on it anyway.<p>When I was younger, I learned a lot from reading djb's code[2] changed the way I think about application design and [3] changed my mind about system administration. Actually everything djb wrote is worth learning from.<p>Before that I recall specifically sicp[4] giving me a lot to think about.<p>There are also bigger things (like plan9[5] and emacs[6]) that I've found interesting.<p>[1]: <a href="http://nsl.com/papers/origins.htm" rel="nofollow">http://nsl.com/papers/origins.htm</a><p>[2]: <a href="http://cr.yp.to/djbdns.html" rel="nofollow">http://cr.yp.to/djbdns.html</a><p>[3]: <a href="http://cr.yp.to/daemontools.html" rel="nofollow">http://cr.yp.to/daemontools.html</a><p>[4]: <a href="https://mitpress.mit.edu/sicp/" rel="nofollow">https://mitpress.mit.edu/sicp/</a><p>[5]: <a href="http://9p.io/plan9/index.html" rel="nofollow">http://9p.io/plan9/index.html</a><p>[6]: <a href="http://www.gnu.org/software/emacs/" rel="nofollow">http://www.gnu.org/software/emacs/</a>
SQLAlchemy[1] is a large project with a very solid codebase; it is very well documented and the API is exemplary.<p>1: <a href="https://github.com/zzzeek/sqlalchemy/" rel="nofollow">https://github.com/zzzeek/sqlalchemy/</a>