4 ms·
Ignoring the pedantry elsewhere, then sure this comment explains what you are doing. The contention is whether it is necessary or common enough to be assumed.
by Normal_gaussian 5y ago
Ignoring the pedantry elsewhere, then sure this comment explains what you are doing.
The contention is whether it is necessary or common enough to be assumed. In most places this would be self evident and should be avoided to reduce mental load, however I have seen and done exactly this many times - in distrubuted or embedded systems where the control is neither synchronous or co-located (ie, coming in from interrupts / messages). In such places there may even be call for more description, however presuming the context is appropriate this could be correct.
I would imagine a game with a react redux style state engine might result in a comment like this as well.