
Nov. 30, 2019
9:42 p.m.
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