[issue21484] More clarity needed about difference between "x += e" and "x = x + e"

2014-05-13 Thread Feliks
Feliks added the comment: Well, there is some anecdotal evidence. ;-) I happen to have a lot of experience with a lot of programming languages, and I was bitten by this. Let's put it like this: it is quite easy to overlook the significance of the sentence in question. One looks a

[issue21484] More clarity needed about difference between "x += e" and "x = x + e"

2014-05-12 Thread Feliks
New submission from Feliks: In Sec. 7.2.1 of the Language Reference, in the description of "+=" we have: "Also, when possible, the actual operation is performed in-place, meaning that rather than creating a new object and assigning that to the target, the old object is m