Live data from Hacker News

Ask HN: What source code is worth studying?

news.ycombinator.com

41–50 of 176 posts

Re: Ask HN: What source code is worth studying?

#41
post #35

Slight tangent to your question, but one thing I have noticed recently is that having to deal with really crap code inspires me to do my own better. I inherited a colleagues work after she left, and it was horrible. But I thought about why it was horrible, and how to make it better. What would it look like if it was done well? Even with my own code, if I look at something I did 6 months ago, and it doesn't make sense…

It frightens me how my future replacement is probably going to think "gee, that guy was horrible" unless he knows all the historic context and reasons why the code was written the way it was written.

Re: Ask HN: What source code is worth studying?

#42
post #2

C -> Varnish PHP -> Yii Ruby -> Merb Scheme -> Arc Clojure -> Core JavaScript -> Multeor Any languages in particular that you're interested in not covered above?

> Ruby -> Merb

If you do dive into merb, one of the contributors started a handbook on internals long time ago (https://github.com/michaelklishin/merb-internals-handbook), although, it died with the merb itself.

Re: Ask HN: What source code is worth studying?

#44

== Vim or Emacs == Just pick one and force yourself to use it to the exclusion of other editors. Future you will thank you later, because you'll still be using it 20 years from now. "We are typists first, programmers second" comes to mind. You need to be able to move chunks of code around, substitute things with regexes, use marks, use editor macros, etc. == 6.824: Distributed Systems == http://pdos.csail.mit.edu/6.8…

>>> http://pdos.csail.mit.edu/6.824-2013/ Do each lab. Read the discussion and rtm's course notes.

How to read the discussions? I think it's not publicly available. Btw, thanks a lot for the great post.

Re: Ask HN: What source code is worth studying?

#45
post #23

== Vim or Emacs == Just pick one and force yourself to use it to the exclusion of other editors. Future you will thank you later, because you'll still be using it 20 years from now. "We are typists first, programmers second" comes to mind. You need to be able to move chunks of code around, substitute things with regexes, use marks, use editor macros, etc. == 6.824: Distributed Systems == http://pdos.csail.mit.edu/6.8…

How long does it usually take to get a reply from Matasano. I have sent a mail couple of days ago, but no reply yet.

Saw tptacek mention the workload yesterday: https://news.ycombinator.com/item?id=7598284

> There are at last count something like twelve thousand people who have reached out to us for our free crypto challenges [...] Every damn one of those people is an email exchange that me, Sean, or Marcin had to have directly, on our own time, with no compensation.

I imagine the response time can vary quite a bit.

Re: Ask HN: What source code is worth studying?

#48

The sources to Lua are pretty darn great: http://www.lua.org/source/5.2/

Agreed, and after you've worked through the source to the canonical implementation of Lua, you can level-up by looking into the source of LuaJIT: http://luajit.org/download.html

Re: Ask HN: What source code is worth studying?

#50

== Vim or Emacs == Just pick one and force yourself to use it to the exclusion of other editors. Future you will thank you later, because you'll still be using it 20 years from now. "We are typists first, programmers second" comes to mind. You need to be able to move chunks of code around, substitute things with regexes, use marks, use editor macros, etc. == 6.824: Distributed Systems == http://pdos.csail.mit.edu/6.8…

>>> http://pdos.csail.mit.edu/6.824-2013/ Do each lab. Read the discussion and rtm's course notes. How to read the discussions? I think it's not publicly available. Btw, thanks a lot for the great post.

It's a little hidden: http://pdos.csail.mit.edu/6.824-2013/schedule.html
Post reply on HN