Notes on Component Cohesion

The Reuse/Release Equivalence Principle (REP)

The Common Closure Principle (CCP)

The Common Reuse Principle

  • The Reuse/Release Equivalent principle suggests that classes in a component should be releasable together.
  • The Common Closure Principle suggests that classes within a component should have same reasons to change.
  • The Common Reuse Principle suggests that classes that do not depend on one another should not belong to a same component.

References

--

--

Backend developer in .NET core. I enjoy the outdoor, hanging out with good friends, reading and personal development.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store