3 ms·
Ain't going to happen. Python used to have lambdas, but removed all but the one-line variety. The problem is that if you add blocks, then half of the added syn
by yxhuvud 8y ago
Ain't going to happen. Python used to have lambdas, but removed all but the one-line variety.
The problem is that if you add blocks, then half of the added syntactic features the last decade is redundant as a block version would simply solve the problem a better. Which would create a lot of dead design, and that makes it a bad solution.
- pseudalopex 8y agoWhen did Python have multi-line lambdas? Are you maybe conflating blocks with chained iterator operations? Adding blocks to Python's current functional syntax would be pretty ugly. "foo.filter(bar).map(baz)" is nice even if you can only use named functions.