Skip to content

Software Coupling

A dependency across software-module boundaries in which a relevant change to one module's contract, data, behavior, or mirrored logic can require coordinated change in another.

Core Idea

Software coupling is a dependency across module boundaries: one module relies on another's contract, data, behavior, or mirrored logic such that a relevant change can require coordinated revision. Fowler's original essay uses a change-dependency test and includes duplicated code in separate modules even without an explicit call between them.[1]

Coupling is not automatically bad. A useful program needs communication among its modules; the design question is which assumptions cross each boundary and which changes they expose. A private implementation can change behind a stable interface without forcing caller changes.[1]

How would you explain it like I'm…

Tied-Together Program Parts

Imagine two kids tied together in a three-legged race: when one moves, the other has to move too. In computer programs, two parts are coupled when changing one can mean you have to change the other. Some ties are fine, but you want to know where they are.

When Changing One Part Changes Another

Software coupling is when one part of a program depends on another part so that changing one might force you to change the other. This can happen when one part uses another's features, relies on how it stores information, or even when the same code is copied into both parts. If one part only uses the other's public 'buttons' and those stay the same, changes inside won't bother it. Programs need some coupling for parts to work together; the goal is to know which ties exist and keep them sensible.

Cross-Module Change Dependency

Software coupling is a dependency across the boundary between software modules, where one module relies on another's contract, data format, behavior or duplicated logic so that a relevant change can require coordinated changes in both. Merely being mentioned together isn't coupling; the test is whether change spreads. Even two copies of the same code in separate modules are coupled, though neither calls the other. Coupling depends on what changes: a module using another's public interface is safe from private implementation changes, but not from interface changes. Dependencies have a direction and don't automatically spread through every layer. The goal is not zero coupling, but managing which assumptions cross boundaries. It differs from cohesion, which is about how well things inside one module belong together.

 

Software coupling is a dependency across module boundaries, defined by a change-propagation test: one module relies on a contract, data representation, behavior or mirrored logic associated with another such that a relevant change can require coordinated modification. Martin Fowler's formulation includes the non-obvious case of duplicated code in separate modules, which are coupled even without any explicit call between them. Coupling is both structural and conditional. A caller depending on a module's public interface is insulated from private implementation changes behind an honored contract, but may need revision if the interface itself changes. Dependency is directional, and Fowler's UI/domain/database example cautions against assuming it propagates transitively through every layer. The design goal is not to eliminate coupling, since modules in a useful program must communicate, but to manage which assumptions cross a boundary, in which direction, and which changes they propagate. Budgen's SEI curriculum distinguishes coupling, a between-module relation, from cohesion, a within-module relation.

Scope of Application

The relation applies across routines, packages and other meaningful software units. Budgen's SEI curriculum names data, stamp, control, common-environment and content coupling as roughly ranked historical forms, not a universal numeric scale. It distinguishes coupling between modules from cohesion within a module.[2]

Fowler's layered UI/domain/database example makes dependency directional and nontransitive. A database change need not reach UI unless it alters the domain interface on which UI depends. An optional mapper and interface/implementation split can insulate some changes, but no architecture guarantees independence from every future change.[1]

Clarity

The abstraction distinguishes a caller's dependence on a public interface from dependence on private implementation details. It also reveals less visible co-change, such as mirrored logic in two modules with no runtime reference. Editing two files in one commit is not by itself coupling; the relied-on agreement must be specified.[1]

Manages Complexity

Rather than treating every source reference alike, map the modules, channel, relied-on assumption, direction and class of change that can propagate. Fowler focuses on high-level package relationships because an undifferentiated count hides the important dependency pattern. Budgen's forms help classify channels but do not replace that conditional analysis.[1][2]

Abstract Reasoning

If the database changes but the domain's exposed interface remains stable, Fowler's UI need not change. If the shared rule represented in duplicated modules changes, both copies may need editing despite the absence of a call. These counterfactuals show that software coupling is about which change crosses which assumed boundary, not a claim that every change ripples.[1]

Knowledge Transfer

The same module/assumption/change test transfers literally from duplicated code to layered packages. Outside software, the live prime Coupling captures dynamic subsystem interdependence. Its current full definition requires an interaction channel, strength and timescale; the static duplicated-code case need not instantiate those dynamic roles. This staged software identity is therefore not treated as a prime alias or forced strict child, and its DAG placement remains proposed unparented.

Neighborhood in Abstraction Space

Software Coupling sits in a sparse region of the domain-specific corpus (65th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Software & Systems Architecture (33 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Martin Fowler, “Reducing Coupling,” IEEE Software 18, no. 4 (2001): 102–104, author-hosted original PDF, pp. 102–104. registry ↩a ↩b ↩c ↩d ↩e ↩f

[2] David Budgen, Introduction to Software Design, SEI Curriculum Module SEI-CM-2-2.1 (1989), original PDF, printed p. 8. registry ↩a ↩b

[3] Encyclopedia of Abstractions, live prime_abstractions/v2/coupling.md, Core Idea and Structural Signature, inspected 2026-10-01. registry