|
|
|
|
|
by Derbasti
4361 days ago
|
|
> Python falls through because it doesn't have real lambda. True. What it does have though is real closures. Local function definitions with a proper name, capturing lexical state, usable as first class objects. This is a usable replacement for real lambdas, in much the same way functions are used as a replacement for just about everything in Javascript. There are so many things in Python that have real syntax and language support, and that are lambdas upon lambdas upon lambdas in Javascript. |
|