3 ms·
> `a = a + b` and `a += b` are completely different operations Getting off-topic, but IMO that’s a major design flaw in the language. Some others agree, e.g. h
by pansa2 6y ago
> `a = a + b` and `a += b` are completely different operations
Getting off-topic, but IMO that’s a major design flaw in the language. Some others agree, e.g. https://twitter.com/joepolitz/status/1304992696293978112 https://twitter.com/joepolitz/status/1304992696293978112
- masklinn 6y agoOh I completely agree it’s a major design flaw of the langage and I was dismayed the core devs used it again with the in-place dict update of 3.9. My point was that if you were teaching people that pull thon follows strict algebraic principles you were already setting them up for a rude series of surprises.