SpinTheMic
Pro

Explain it in 60 seconds

Cohesion and coupling

Backend Engineering · OOP and Design Patterns · Intermediate

What do cohesion and coupling mean, and what is the goal?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Cohesion: how related a module's responsibilities are.
  • Coupling: how dependent modules are on each other.
  • Goal: high cohesion, low coupling.
  • Changes stay local.
  • Applies to classes, modules, services.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics