The Common Closure Principle (CCP)
The Common Closure Principle (CCP)
The classes in a component should be closed together against the same kinds of changes. A change that affects a component affects all the classes in that component and no other components.
