Close

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.

Sustainable Software Design: Understanding the Benefits of the Common Closure Principle

Common Closure Principle

What? The Common Closure Principle (CCP) states:” The components’ classes should be closed against the same kind of changes. A change that affects a part affects all the classes in that component and no other components.” In other words, a component should not have multiple reasons to change. The Single […]

Devamını Oku