On 1/12/19 8:54 am, Andrew Barnert via Python-ideas wrote:
but that their intuition for ++ doesn’t make sense for Python while their intuition for += does.
Another couple of possible reasons: * There is far less use for ++ in Python. In C, it's extremely common to step through arrays by incrementing indices or pointers, but Python has higher-level ways of doing most of those things. * Prefix ++ already has a meaning (two applications of prefix +) so it would have been a backwards-incompatible change. -- Greg _______________________________________________ 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/QVUZ2335VD2XKPSLGWTZ6DPZNCMLNSIY/ Code of Conduct: http://python.org/psf/codeofconduct/