> (snip) >> and my point is that users >> are most of time correct when they assume that something will work the >> same way as in C. > > Oh, really ? They would surely be wrong if they'd expect the for loop to > have any similarity with a C for loop, or - a *very* common error - if > they'd expect assignment to work the same way as in C.
Yes, really. I wrote ".... most of the time ....." and not "all the time". >> So I'd think that putting a warning in a FAQ or a Python Gotchas list >> about ++n would be very useful for many users. > > Might eventually be useful, but I can't hardly recall of more than a > couple threads on this topic in 8+ years. I'm happy we agree. Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown -- http://mail.python.org/mailman/listinfo/python-list