On Tue, 26 Apr 2011 13:37:40 -0700, Ethan Furman
  <et...@stoneleaf.us> wrote:
:  Hans Georg Schaathun wrote:
: > List comprehension is understood even by readers with no experience
: > with python.
: 
:  There's nothing magically understandable about a list comp -- the first 
:  time I saw one (which was in Python), I had to learn about them.

Well, there is a first time for everything.
For all the other proposals, the first time is bound to be in python.

List comprehension is found in many languages, as just list
comprehension, and rather quickly comprehensible by analogy 
to anyone familiar with set comprehension in mathematics.
The syntax is slightly different, but python's use of plain
English keywords make the transission fairly simple.

(-: and I did not say by /all/ readers :-)

-- 
:-- Hans Georg
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to