[Python-Dev] ++x oddnes
Sat, 11 Aug 2001 16:36:01 +0200
David Ascher wrote:
> Guido van Rossum wrote:
> > IMO not worth it changing the language. Train yourself to write x++
> > instead. :-)
> Sounds like an excellent one for PyChecker =)
Why ? ++x can be put to some real use: I have a counter
type which actually uses ++x to increment the counter.
Note that the interpreter sees ++x as +(+x), that is the "+" is
interpreted as unary + -- perfectly legal Python if you ask me.
CEO eGenix.com Software GmbH
Consulting & Company: http://www.egenix.com/
Python Software: http://www.lemburg.com/python/