is list comprehension necessary?

Aahz aahz at pythoncraft.com
Sun Nov 21 13:30:06 EST 2010


In article <4cc701e7$0$1606$742ec2ed at news.sonic.net>,
John Nagle  <nagle at animats.com> wrote:
>
>Python isn't a functional language.  It has some minimal functional
>capabilities, and there's a lobby that would like more.  So far, that's
>mostly been resisted.  Attempts to allow multiline lambdas have been
>averted.  The weird "functional if" syntax additions were a cave-in to
>the functional crowd, and may have been a mistake.

Did you actually read the PEP explanation for *why* Guido decided to add
conditional expressions?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Look, it's your affair if you want to play with five people, but don't
go calling it doubles."  --John Cleese anticipates Usenet



More information about the Python-list mailing list