r/Python • Python Morsels • Sep 27 '18

Stop writing lambda expressions in Python

http://treyhunner.com/2018/09/stop-writing-lambda-expressions/
0 Upvotes

26 comments sorted by

View all comments

3

u/etrnloptimist Sep 27 '18

I agree. Used in this way, lambdas heavily promote a functional style to writing Python code. It is really opposite of the style and spirit of Python. Python is an imperative language, not a functional one. It is no secret that Guido strongly dislikes functional style. And if that opinion is good enough for Guido, it is good enough for me.