The future of Python immutability
tjreedy at udel.edu
Sun Sep 6 04:34:32 CEST 2009
Adam Skutt wrote:
> On Sep 5, 11:29 am, Terry Reedy <tjre... at udel.edu> wrote:
>> This is a pointless replacement for 'def b(x): return x+a'
> And? That has nothing to do with anything I was saying whatsoever.
Agreed. However, posts are read by newbies.
Posts that promote bad habits are fair game for comment.
>> Python does not have lambda objects. It has lambda expressions that
>> produce function objects identical except for .__name__ to the
>> equivalent def statement output.
> Sure sounds like python has lambda objects to me then...
The idea that Python has 'lambda objects' had caused no end of mischief
over the years.
More information about the Python-list