Monday, February 22, 2010

Coupling Vs Cohesion

Coupling

coupling or dependency is the degree to which each program module relies on each one of the other modules.

Cohesion

Modules with high cohesion tend to be preferable because high cohesion is associated with several desirable traits of software including robustness, reliability, reusability, and understandability whereas low cohesion is associated with undesirable traits such as being difficult to maintain, difficult to test, difficult to reuse, and even difficult to understand.

No comments: