Andrew Barnert writes:

 > I’m not sure this example really argues the case.
 > 
 > To an experienced C programmer, both += and ++ are intuitive. But
 > to a novice who’s never programmed, neither one is intuitive.

I'm sorry, I expressed my point poorly, which is, first, that IMHO
your statement above is exactly right.  In addition, I meant to argue
that "+=" got in because as an assignment statement it is useful to
express mutation in place, while "++" had no such use.  It's an
argument which is similar in form but along a different dimension from
the one you emphasize.

Steve
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/TOW7Q3IYUAA2HKOXP6GBI5NBIUWSKEAS/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to