Skip to content

Coupling

Medium — good to knowArchitecture

ELI5 — The Vibe Check

Coupling is how much two pieces of code depend on each other. Tight coupling means changing one breaks the other — like Siamese twins. Loose coupling means they barely know each other — like coworkers who communicate through Slack. Loose coupling is almost always better.

Real Talk

Coupling measures the degree of interdependence between software modules. Tight coupling (high coupling) makes modules difficult to change, test, or reuse independently. Loose coupling is achieved through interfaces, dependency injection, and event-driven communication.

When You'll Hear This

"These two services are too tightly coupled — they deploy together or not at all." / "Reduce coupling by introducing an interface between them."

Made with passive-aggressive love by manoga.digital. Powered by Claude.