Python has a very strong set of conventions, beliefs about what 'good python' looks like/what is in the spirit of the language. It's a common term in the python community.
how can you come down hard on the side of one when you've never experienced the other? I'm from a non-list-comprehension background too, but recently started working a lot in a large python codebase, and have found the…
Sounds great in theory. Problem is if you need a lambda that isn't a single expression, you then have to name it. Welcome to the conversation.
I know (and bemoan) that lambdas can only have a single expression returned, but can't you just use a named function? (Not as nice, I agree, but doesn't put a hard limit on FP in python.)
Sorry, what statistics? http://www.theatlantic.com/international/archive/2015/09/wel... http://www.npr.org/sections/money/2013/10/25/240590433/what-...
Python has a very strong set of conventions, beliefs about what 'good python' looks like/what is in the spirit of the language. It's a common term in the python community.
how can you come down hard on the side of one when you've never experienced the other? I'm from a non-list-comprehension background too, but recently started working a lot in a large python codebase, and have found the…
Sounds great in theory. Problem is if you need a lambda that isn't a single expression, you then have to name it. Welcome to the conversation.
I know (and bemoan) that lambdas can only have a single expression returned, but can't you just use a named function? (Not as nice, I agree, but doesn't put a hard limit on FP in python.)
Sorry, what statistics? http://www.theatlantic.com/international/archive/2015/09/wel... http://www.npr.org/sections/money/2013/10/25/240590433/what-...