Confessions of a Python fanboy

Chris Rebert clp2 at rebertia.com
Fri Jul 31 10:25:37 CEST 2009


On Fri, Jul 31, 2009 at 1:21 AM, Xavier Ho<contact at xavierho.com> wrote:
> On Fri, Jul 31, 2009 at 6:08 PM, Masklinn <masklinn at masklinn.net> wrote:
>>
>> <snip>... but since Python doesn't have anonymous functions that usage
>> tends to be a bit too verbose ... <snip>
>
> Sorry to interrupt, but wouldn't lambda in Python be considered as
> 'anonymous functions'?

I believe "full" anonymous functions was intended by the author.
lambdas are limited to a single expression. "Full" anonymous functions
would be allowed to contain multiple statements.

Cheers,
Chris
-- 
http://blog.rebertia.com



More information about the Python-list mailing list