3 ms·
Python's lambdas aren't functions, they're single expressions, so I don't think that the multi-line problem is significant. I'm not convinced that multi-statem
by anamax 15y ago
Python's lambdas aren't functions, they're single expressions, so I don't think that the multi-line problem is significant.
I'm not convinced that multi-statement anonymous functions are a good idea.
- rogerdpack 15y agoThey can make for pretty statements in Ruby. But my question is then...why can't you do it in python just like ruby def go : this.some_other_method : here_is_my_block ?