Would Anonymous Functions Help in Learning Programming/Python?
Bruno Desthuilliers
bruno.42.desthuilliers at wtf.websiteburo.oops.com
Mon Sep 24 07:09:54 EDT 2007
Steven D'Aprano a écrit :
> On Fri, 21 Sep 2007 22:07:55 +0000, Cristian wrote:
>
>> True, there is lambda, but that is very limited. It might be useful for
>> key arguments, but not much else.
>
> No, lambda is useful for anything that any other function is useful for,
> provided that you can write it as a single expression and not need to use
> statements.
Which makes a great difference in practice !-)
More information about the Python-list
mailing list