Navigation
Search
|
[$] Alternative syntax for Python's lambda
Wednesday March 3, 2021. 11:07 PM , from LWN.net
The Python lambda
keyword, which can be used to create small, anonymous functions, comes from the world of functional programming, but is perhaps not the most beloved of Python features. In part, that may be because it is somewhat clunky to use, especially in comparison to the shorthand notation offered by other languages, such as JavaScript. That has led to some discussions on possible changes to lambda in Python mailing lists since mid-February.
https://lwn.net/Articles/847960/rss
|
25 sources
Current Date
Apr, Fri 19 - 15:54 CEST
|