What is logical cohesion, and why is it bad or undesirable?
- by Matt Fenwick
From the c2wiki page on coupling & cohesion:
Cohesion (interdependency within module) strength/level names : (from
worse to better, high cohesion is good)
Coincidental Cohesion : (Worst) Module elements are unrelated
Logical Cohesion : Elements perform similar activities as selected from outside module, i.e. by a
flag that…