misleading prefix ++

Fredrik Lundh fredrik at pythonware.com
Sat May 20 08:58:50 EDT 2006


LuciferLeo at gmail.com wrote:

> Don't you think it is misleading when you expect a variable to
> increment?

no.  and in my experience, most people know that they cannot just type 
random stuff into a computer and expect it to do what they want.

(have you figured out *why* this is valid syntax, and what it does to 
your integer?)

</F>




More information about the Python-list mailing list