Re:Examples of Incorrect Abstractions in Other Languages
by theelous3 on Wednesday May 20, 2020 @07:28AM
(#23245598)
You were likely doing something with threads and failed to lock `x`, which I would describe as an issue that should be expected. It doesn't really have to do with `+=` so much as it has to do with being aware of race conditions on variable unprotected by a mutex.
[ Parent
| on HN ]
There are no comments on this comment yet.