Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JavaScript: It’s Not Just for Browsers Any More. Parent comment
Ruby is just a mess in this regard,even if you can arguably do anything you want in the end : http://innig.net/software/ruby/closures-in-ruby.rb
On the other hand, javascript has a simple, no bullshit syntax for functions. If you want a function to be anonymous, just don't give it a name.
Erlang and Lua obviously have true anonymous functions and closure support.
There are no comments on this comment yet.
Ruby is just a mess in this regard,even if you can arguably do anything you want in the end : http://innig.net/software/ruby/closures-in-ruby.rb
On the other hand, javascript has a simple, no bullshit syntax for functions. If you want a function to be anonymous, just don't give it a name.
Erlang and Lua obviously have true anonymous functions and closure support.