[Python-3000] what do I use in place of reduce?

Brett Cannon brett at python.org
Fri Apr 25 00:58:18 CEST 2008


[SNIP]
>
> > In any case, writing multiple lines is good, writing a single line only
> > is bad.
> I don't agree. If it's code you want to write once and never look at again,
> having it out of the way can be nice.

But this is Python; explicit is better than implicit. You write
one-liners on the weekend as a challenge and a joke, not for any code
you will ever actually use.

-Brett


More information about the Python-3000 mailing list