[Tutor] Problems with genetically engineering the Print Ogre

Tim Peters tim.one@comcast.net
Thu, 28 Feb 2002 03:49:02 -0500


[Remco Gerlich]
> Personally I think list comprehensions are beautiful. It helps if you
> are used to similar notation in math.

[Scot Stevenson]
> I sure it does - but that does somewhat confirm my suspicion that this
> is a construct added for a very specialized group of users =8).

In America, students are exposed to "set builder" notation starting at about
age 12.  That's where list comprehensions trace from, quite directly (Python
borrowed it from Haskell, which in turn borrowed it from SETL, which in turn
was inspired by Cantor's beautiful 19th-century pen-&-paper notation; it's
uglier in ASCII, of course).  You can't tell me Germany coddles its young
students more than America does <wink>.