Is current integer for-loop syntax a wart?
greg at cosc.canterbury.ac.nz
Mon Mar 11 05:37:28 CET 2002
brueckd at tbye.com wrote:
> Seeing range() in the code doesn't force you
> to pause and figure out what it means
In the simplest case, no. But when I come across
I certainly *do* have to pause and think about
what it means!
Simple range() is fine, but multi-parameter
range(), especially with a negative step,
seems very warty to me.
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
More information about the Python-list