2 ms·
I really like Python's style. Multi-line lambdas aren't such a must-have. You can always use named functions. So, Python's syntax doesn't mean you can't do s
by mdasen 18y ago
I really like Python's style.
Multi-line lambdas aren't such a must-have. You can always use named functions. So, Python's syntax doesn't mean you can't do something, just that you have to give it a name if it's going to be multi-line rather than being anonymous. Plus, if you really care that much, just make multi-line lambdas an exception. Heck, look through the proposals people have made for Python to have multi-line lambdas. You can make multi-line lambdas that really fit with the Python syntax (in my opinion).
So, don't make lambda the deciding factor between Python and C syntax.