why no ++?

Courageous jkraska1 at san.rr.com
Sat Aug 4 03:20:28 CEST 2001


>Just wondering. Can anyone tell me the rationale for leaving the ++/-- 
>operator out of...

In the early years of Python, and even to some extent today,
one of Python's characterizing features is Minimalism.

In any case, ++ in other languages is often abused to the point
of much confusion. The "i++;" case is only one of many.

Note that in language where you _can_ type i++, you're probably
also writing ';'. So Python's "i+=1" is equally terse.

C//




More information about the Python-list mailing list