C#3.0 and lambdas
Mon Sep 19 23:25:14 CEST 2005
Michael Ekstrand <mekstran at iastate.edu> writes:
> > def drawline((x1, y1), (x2, y2)):
> > # draw a line from x1, y1 to x2, y2
> > foo(x1, y1)
> > bar(x2, y2)
> Yow! I did not know you could even do this.
> My vote would be +1 for keeping them in the language... they look far
> too useful to deprecate/remove...
I'm +1 for keeping them in the language and +1000 on keeping them
in Python 2.5. Removing them would break existing code and therefore
should not be done until Python 3.0 if at all.
More information about the Python-list