A critic of Guido's blog on Python's lambda

Alex Martelli aleax at mac.com
Tue May 9 23:12:29 EDT 2006


Joe Marshall <eval.apply at gmail.com> wrote:

> Pisin Bootvong wrote:
> > Is this a Slippery Slope fallacious argument?
> > (http://c2.com/cgi/wiki?SlipperySlope)
> >
> > "if python required you to name every function then soon it will
> > require you to name every number, every string, every immediate result,
> > etc. And we know that is bad. Therefore requiring you to name your
> > function is bad!!!! So Python is bad!!!!"
> 
> No, it is a question about consistency.  Why are functions singled out?

They're not: packages, modules and classes also have names; as I pointed
out, the common factor among these four types is that instance of these
types are liable to occur in tracebacks &c, where a (good) name is
particularly useful as a summary reminder of what the thing is.


Alex



More information about the Python-list mailing list