3 ms·
x += e does not mean x = x + e
- eimrine 5y agoI haven't understood the claim except that types mismatch, maybe the example deserves some shorting.
- version_five 5y agoIn python, you could also type >>>a + [4] [1,2,3,4] and b would be unaffected. This is logically consistent, assignment is not the same as doing an in place operation. I don't have an explanation for the java one