Quote:
Originally Posted by xAndrewx
I'll be honest with you, this is stupid and makes scripts even harder to read.
|
However, it makes it incredibly easy to create easy function interfaces, or to pass the same parameter set to a large number of functions at the same time. Anonymous functions are at first confusing but they can be useful, and also help to provide some JavaScript compatibility.