Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Douglas Crockford on JavaScript and HTML5 . Parent comment
JS has first-class functions with closures. This is simple concept that enables lots of interesting constructs — callbacks, methods, currying.
It makes event handlers/callbacks very easy (so easy that node.js can rely on them for everything).
It allows very flexible "fluid interface" like in jQuery.
Mixed with JS dynamism and prototypes allows you to invent your own OOP variants (and JS's standard prototype-based OOP isn't bad either).
There are no comments on this comment yet.
JS has first-class functions with closures. This is simple concept that enables lots of interesting constructs — callbacks, methods, currying.
It makes event handlers/callbacks very easy (so easy that node.js can rely on them for everything).
It allows very flexible "fluid interface" like in jQuery.
Mixed with JS dynamism and prototypes allows you to invent your own OOP variants (and JS's standard prototype-based OOP isn't bad either).