2 ms·
Why are people so concerned about anonymous functions? The facts that you ca Defoe a function inside a function, and that they are object make named functions a
by dorfsmay 12y ago
Why are people so concerned about anonymous functions? The facts that you ca Defoe a function inside a function, and that they are object make named functions as good as anonymous ones.
- ptx 12y agoBut you still have to come up with a name for it every time, and, more importantly, you can't do it inside an expression.
- azinman2 12y agoYa exactly. If you're trying to do a functional map, then it doesn't make sense to have to def it especially because your def will go before the actual execution of it which always looks unideal