the problem here is that sometimes the past programmer didn’t considered it all, and present-progeammer don’t have a way to distinguish between those possibilities. which is also the problem with the Fence, except in programming it’s easier to try, and roll back if you need to.
in the last place i worked, going by this heuristic would have been bad idea. the answer was mostly that they didn’t think about it, or that the code is old and you can use something better now, and should.
the problem here is that sometimes the past programmer didn’t considered it all, and present-progeammer don’t have a way to distinguish between those possibilities. which is also the problem with the Fence, except in programming it’s easier to try, and roll back if you need to.
in the last place i worked, going by this heuristic would have been bad idea. the answer was mostly that they didn’t think about it, or that the code is old and you can use something better now, and should.