3 ms·
Encapsulation shouldn't be used to make it OK to remove something later; it should be used to make it OK to replace that thing later. Then your hacky solution
by RangerScience 7y ago
Encapsulation shouldn't be used to make it OK to remove something later; it should be used to make it OK to replace that thing later.
Then your hacky solution goes on the inside, as inline code, and then it's no problem to delete it.