Python Success stories

Bob Woodham woodham at
Wed Apr 23 20:08:16 CEST 2008

On 2008-04-22, Paul Hankin <paul.hankin at> wrote:
> On Apr 22, 5:50 pm, Jérémy Wagner <jeremy.wag... at> wrote:
>> Sure. Python is more readable than Perl, though I have found Python
>> to have a weird behavior regarding this little issue :
>> How can you explain that Python doesn't support the ++ opeator,
>> whereas at the same time it does support the += operator ???
>> No python developer I know has been able to answer that.
> Because ++ is of limited use and has poor readability?
> 'x++' vs 'x += 1' saves 3 characters and is less readable.

In addition, the statement

x = x++;

has unspecified behaviour in C.  That is, it is not specified
whether the value of x after execution of the statement is the
old value of x or one plus the old value of x.

More information about the Python-list mailing list