Earlier quoted context omitted.
But we can't all be the best.
Not at first. But work with people you like and respect, and learn from them. Then ask them when looking for your next job. Any place worth working isn't looking for the absolute best candidate for X at any cost. A good fit with someone with a good work ethic who wants to learn always works out better than just raw expertise. And a reference from someone you both respect is the fastest most reliable place to find the…
Ask HN: What source code is worth studying?
91–100 of 176 posts
Re: Ask HN: What source code is worth studying?
#92Any suggestions for Clojure projects? [Update: Oops. I missed the "Clojure -> Core" by jacquesm]
Re: Ask HN: What source code is worth studying?
#93Re: Ask HN: What source code is worth studying?
#94Earlier quoted context omitted.
> == Tarsnap == > How to write C. Study the "meta," that is, the choice of how the > codebase is structured and the ruthless attention to detail. Pay > attention to how functions are commented, both in the body of the > function and in the prototypes. I just had another look at the tarsnap source code, and while I know Percival is a great guy, and I can't imagine him suing over "mis-use", the bulk of the code is unde…
Relax
Anyway, illegal is illegal, and copy-pasting from Tarsnap would be illegal. I didn't know Tarsnap was under a restrictive license. It's a shame that people will have to be so careful when learning from Tarsnap, as it's a paragon of modern C best practices, but maybe the license is shrewd.
Though I wish the mentality of "my competitors might steal the code!" will die its deserved death, since evidence thus far suggests it's just paranoia. For example, the codecombat guys open sourced everything and have been fine: https://news.ycombinator.com/item?id=7015126 (But of course that's easy for me to say when I have no competitors to worry about!)
Re: Ask HN: What source code is worth studying?
#95Python => SQLAlchemy Very clean, feature-rich yet pragmatic and well documented. https://github.com/zzzeek/sqlalchemy
Re: Ask HN: What source code is worth studying?
#96Re: Ask HN: What source code is worth studying?
#97Re: Ask HN: What source code is worth studying?
#98Re: Ask HN: What source code is worth studying?
#99A less glib answer try Brogue: https://sites.google.com/site/broguegame/
A very interesting roguelike with interesting constraint-based features.
Re: Ask HN: What source code is worth studying?
#100The sources to Lua are pretty darn great: http://www.lua.org/source/5.2/