Junior SOLID

What is the difference between Cohesion and Coupling?

  • Cohesion: Degree to which elements of a module belong together. High cohesion

means focused, well-defined responsibilities.

  • Coupling: Degree of interdependence between modules. Low coupling means

modules are independent and changes in one don’t affect others.

More from Design Patterns in C#

All questions for this course