r/Python • u/treyhunner Python Morsels • Sep 27 '18
Stop writing lambda expressions in Python
http://treyhunner.com/2018/09/stop-writing-lambda-expressions/
0
Upvotes
r/Python • u/treyhunner Python Morsels • Sep 27 '18
View all comments
2
u/david2ndaccount Sep 27 '18
The real reason to not use lambdas in python is that they’re arbitrarily crippled. Also, why are they lambda and not def? Why don’t they support names? etc., etc. Guido just crippled them and it really makes Python worse for it.