Serious Encapsulation

The best way to be consistent in your code is to use the same code to handle the same function. I don’t just mean an identical copy of the same code. I mean the identical method. Don’t be afraid of tiny methods to enforce consistency by specifying your policy in exactly one place.

~ Roedy (1948-02-04 age:69)