Navigation
Recherche
|
[$] Alternative syntax for Python's lambda
mercredi 3 mars 2021, 23:07 , par 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
|
56 sources (32 en français)
Date Actuelle
jeu. 2 mai - 16:51 CEST
|