News for hackers. Stuff that matters.
Re:Avoiding Nested Callbacks in JavaScript by statictype on Thursday June 30, 2011 @01:45PM (#2715008)
It is verbose, but on the other hand, I like the fact that the syntax for anonymous functions is pretty much almost the same as named functions.

Like what pg said somewhere (forgot where), having anonymous functions is a red flag in the language, because there shouldn't be any distinction between anonymous functions and named functions. Javascript kind of gets this right.

I believe CoffeeScript gets this even more right, by having a single way to declare functions which is also concise?

There are no comments on this comment yet.