Lambda going out of fashion

Skip Montanaro skip at pobox.com
Thu Dec 23 13:00:29 EST 2004


    >> While I'm sure it can be done, I'd hate to see a non-trivial Python
    >> program written with lambda instead of def.

    Jp>   What, like this?

    Jp> (lambda r,p,b:...

    Jp>   OTOH, maybe that's still trivial, it's only a multiuser network
    Jp>   chat server, after all.

You cheated by not rewriting Twisted using only lambda.  That's why I
suggested pystone.  While it's a very small program, it is pretty much
self-contained.

Skip



More information about the Python-list mailing list