Best of 2012

The blog posts Hacker News loved most in 2012. 181 posts.

Programming Languages
31

JavaScript Needs Blocks

While reading Hacker News posts about JavaScript, I often come across the misconception that Ruby's blocks are essentially equivalent to JavaScript's "first class functions". Because the ability to pass functions around, especially when you can create them anonymously, is extremely powerful, the fact that both…