[Tutor] Ruby Code Blocks vs. Python Lambdas
john at fouhy.net
Wed Nov 8 03:55:54 CET 2006
On 08/11/06, Carroll, Barry <Barry.Carroll at psc.com> wrote:
> Correct indeed. But lambda functions ARE anonymous.
> "Python supports the creation of anonymous functions (i.e.
> functions that are not bound to a name) at runtime, using
> a construct called "lambda".
> So that principle has already been bent. Since code blocks are more
> flexible and more intuitive than lambdas, why not add them to the tool
> box? To quote some more principles:
PEP3099 (http://www.python.org/dev/peps/pep-3099/) makes this seem unlikely..
More information about the Tutor