3 ms·
True story: when I started programming at age 11, in the book I saw a pair of assignments like: x = x + y y = y + 1 (or whatever). I was thinking, what, t
by kazinator 4y ago
True story: when I started programming at age 11, in the book I saw a pair of assignments like:
x = x + y
y = y + 1
(or whatever). I was thinking, what, that has no solutions!
It's just due to notations; abusing the sacrosanct equal sign for something different. People otherwise have no problem with the idea of a datum being updated in place; it's part of everyday experience.