60 ms·
Python lambdas do not work well, in fact they can only be one line long. For some cases this may be ok, especially if python was were the programmer learned ab
by dantheman 17y ago
Python lambdas do not work well, in fact they can only be one line long. For some cases this may be ok, especially if python was were the programmer learned about lambdas, but from those who come from with languages with real lambdas it is quite limiting.
- deleted 17y ago[deleted]
- kingkilr 17y agoWe aren't talking about lambdas, we are talking about closures. Lambdas are simple syntactic sugar for a function definition that has a single expression, closures are a concept to capture the outer scope.