Re:Stop writing lambda expressions in Python
by Too on Friday September 28, 2018 @12:10PM
(#18094546)
Agree. Without multi line lambdas im javascript, promises would never have been invented.
The braces also makes it easier to find the start and end of a anonymous function even if it's just a one liner, compared to pythons where its only delimited by : and ,
The braces also makes it easier to find the start and end of a anonymous function even if it's just a one liner, compared to pythons where its only delimited by : and ,