Python's simplicity philosophy

Ville Vainio ville.spammehardvainio at spamtut.fi
Sat Nov 15 07:01:00 EST 2003


Douglas Alan <nessus at mit.edu> writes:

> Well, bah!  There are precious few constructs in this world that are
> clearer and more readable than
> 
>    reduce(add, seq)

I asked my non-programmer girlfriend what she thinks your construct
does - she didn't know. She immediately understood what sum(seq) does.

-- 
Ville Vainio   http://www.students.tut.fi/~vainio24




More information about the Python-list mailing list