21 Oct
2018
21 Oct
'18
11:17 a.m.
A powerful general purpose language should not limit itself to one statement in a closure.
Nitpick on language: It doesn't. Lambdas are not the only way to do a closure. It's important to be precise when discussing these things.
Lets add mutli-statement lambdas to python either with just curly braces or with an indent based machine.
Mostly it's just better with a function. Do you have some more compelling examples where you can't use a function smoothly? / Anders