Software Design Principles
الوحدة 4
Coupling and Cohesion
Coupling is not a single quantity to minimise. Learn to name which kind you have, how strong it is, how far it reaches, and which kinds are worth keeping.
33 min2 lessons
ابدأ الوحدةما ستصبح قادرًا عليه
- Rank the common kinds of coupling from tolerable to structurally dangerous.
- Identify temporal, deployment and data coupling in a running system.
- Use connascence to describe coupling precisely by strength, locality and degree.
- Explain why a shared database is usually the most expensive coupling a system can have.
- Judge cohesion by what changes together rather than by what looks related.
- 12 min
01Not All Coupling Is Equal
Every useful system is coupled somewhere; the question is where, how strongly, and whether the coupling crosses a boundary you cannot cheaply cross back.
- 10 min
02Cohesion, and a Precise Vocabulary for Coupling
Cohesion is what changes together, not what sounds related. Connascence gives you three dials — strength, locality and degree — for describing coupling accurately enough to act on.
Coupling and Cohesion
6 questions · pass at 75%