3 ms·
If your program has statefulness (worse, has to have statefulness), then it seems better to control where it is (encapsulate it), rather than letting it run all
by AnimalMuppet 6y ago
If your program has statefulness (worse, has to have statefulness), then it seems better to control where it is (encapsulate it), rather than letting it run all over the place in the program.
And, if you have code that is for working on a particular kind of data, why is binding it to the data problematic?