4 ms·
It would've been nice if the author had described the change that they made instead of just writing "consider the following code". They do say "you generally w
by platz 3y ago
It would've been nice if the author had described the change that they made instead of just writing "consider the following code".
They do say "you generally want to use something that synchronizes that state", but then fail to describe exactly which method they selected in this particular example. A single sentence explaining the particular change would've been sufficient.
This is a little thing but would greatly improve the communicability of the post and practices greater empathy for the reader.