Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Golang landmines. Parent comment
l = [] for i in xrange(3): l.append(lambda: i) print [f() for f in l]
var fns=[]; for (var i=0; i<3; i++) { fns.push(function(){return i}); }; fns.map(function(x) { return x.call(); });
[ 3, 3, 3 ]