Counting nested loop iterations
Diez B. Roggisch
deets at nospam.web.de
Fri Mar 17 09:31:13 EST 2006
> Which is utterly counter-intuitive, the opposite of Perl, and remains
> one of the most confusing and surprising things I have encountered in
> Python so far.
AFAIK stems from mathematics where you write things like
{y | \forall x \in X : \forall y \in x }
And so many people consider it pretty natural/intuitive. After all, we read
from left to right, and making something depend from something yet to be
introduced is counter-intuitive in my book. YMMV though.
Diez
More information about the Python-list
mailing list