Re:Guido was right, there should be no lambda in Python (2018)
by Snarwin on Tuesday September 27, 2022 @08:03PM
(#33002759)
And the use of the LAMBDA keyword goes all the way back to John McCarthy's original paper on Lisp from 1960:
https://archive.org/details/recursive-functions-symbolic-exp...
Re:Guido was right, there should be no lambda in Python (2018)
by erwinh on Wednesday September 28, 2022 @05:11AM
(#33005964)
Wow wasn't aware of this long history.
My hot take for which I'm sure I'll get some hate is all languages should just include js-style arrow functions
Re:Guido was right, there should be no lambda in Python (2018)
by Jtsummers on Wednesday September 28, 2022 @10:34AM
(#33008446)
Probably little hate, it's a long existing style. Haskell, Erlang, the entire ML line of languages, and probably many more have all used it since last century. It came from mathematical notation, and it is concise.
https://sarabander.github.io/sicp/html/1_002e3.xhtml#g_t1_00...