[Python-ideas] Assignments in list/generator expressions

Stephen J. Turnbull stephen at xemacs.org
Mon Apr 11 03:48:14 CEST 2011


Laura Creighton writes:

 > I now believe that some of the hard-to-read stuff I am reading is
 > written by people who actually find this way of writing easier to
 > read and understand than the sort I prefer.

It's not clear to me that they find it easier to understand, only
easier to write.  That is, I think it would be interesting to collect
a sample of each kind and see which is buggier. :-)

Unfortunately, it would be hard work to do that well.



More information about the Python-ideas mailing list