Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JavaScript Isn't Scheme (2013). Parent comment
OTOH:
list.forEach( function( x ) { callbacks.push( function () { return x + 3 } ) }
EcmaScript isn’t Scheme, or Smalltalk/Self, or Ruby. But it sucks a lot less than the other language I’m allowed to use at work :-)
(I pretend that ES is mostly Ruby)
There are no comments on this comment yet.
OTOH:
I guess I tend to use forEach, or one of the Ramada.js operations, rather than for loops these days.EcmaScript isn’t Scheme, or Smalltalk/Self, or Ruby. But it sucks a lot less than the other language I’m allowed to use at work :-)
(I pretend that ES is mostly Ruby)