Christoph Groth writes:

 > Wouldn't it be a pity not to liberate assignments from their boring
 > statement existence?

Maybe not.  While it would be nice to solve the loop-and-a-half
"problem" and the loop variable initialization "problem" (not everyone
agrees these are even problems, especially now that we have
comprehensions and generator expressions), as a matter of taste I like
the fact that this particular class of side effects is given weighty
statement syntax rather than more lightweight expression syntax.

That is, I find statement syntax more readable.


Associate Professor              Division of Policy and Planning Science
http://turnbull/     Faculty of Systems and Information
Email:                   University of Tsukuba
Tel: 029-853-5175                 Tennodai 1-1-1, Tsukuba 305-8573 JAPAN
Python-Dev mailing list

Reply via email to