Comment by CGamesPlay
3 years ago
The obvious x = x + y and the also-works x += y. There is more than one way to do the operation. The conceptually more simple way would be the former as it does not require the programmer to know an extra operator.
No comments yet
Contribute on Hacker News ↗