Quote:
Originally Posted by WhiteDragon
Yes.
In a script where I created 40 to 50 different closures it was getting irritating to create a junk variable like that.
|
It is not really a junk variable because when you define a function normally, you are still creating a variable which contains the function object without realising it. In any other case, what other language uses that kind of syntax that you suggested? It is horrendously ugly.