Coupling and Cohesion
Last updated
What is Coupling and Cohesion?
Coupling and cohesion are two principles in software architecture that are used to measure the degree of interdependence between components in a system.
Coupling refers to the degree to which one component depends on another component. High coupling means that a change in one component will likely affect other components, making the system more difficult to understand, test, and maintain. Low coupling, on the other hand, means that changes to one component have minimal impact on other components, making the system more modular and easier to understand, test, and maintain.
Cohesion, on the other hand, refers to the degree to which the responsibilities of a component are related to each other. High cohesion means that a component has a single, well-defined purpose and that all its functionality and data is related to that purpose. Low cohesion, on the other hand, means that a component has multiple, unrelated responsibilities, making it more difficult to understand, test, and maintain.
Free resources to learn Coupling and Cohesion
More in stage 7: Messaging
Coupling and Cohesion: common questions
Can I learn Coupling and Cohesion in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Coupling and Cohesion in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Coupling and Cohesion tutorial for beginners?
It is lesson 63 of 94 in the free Software Design and Architecture roadmap, in stage 7, Messaging. If you are new to Software Design and Architecture, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.