2 ms·
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 s
by statictype 15y ago
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?