PEP 312 - Making lambdas implicit worries me, surely it's just the name 'lambda' that is bad...
AdSR
artur_spruce at yahoo.com
Mon Mar 3 09:14:30 EST 2003
Alexander Schmolck wrote:
> Erik Max Francis <max at alcyone.com> writes:
>
> > Indeed. I don't see what the tangible benefit is, except by making a
> > certain style of lambdas harder to read. One might object to the use of
> > lambdas on general grounds, but certainly when you see the keyword
> > `lambda' you know what you're in for. PEP 312 attempts to blur that
> > distinction, for no other reason than to save keystrokes and make code
> > look more impenetrable. I don't see the benefit.
Neither do I.
> You overlook the fact "that saving keystrokes" (and space) can make a
> qualitative change to a language.
As can making it less readable. As I understand, Python is, among
other things, readability-oriented. Let's keep it like that.
As they say, if it ain't broken, don't fix it.
Cheers,
AdSR
More information about the Python-list
mailing list