Tool/Computing and Information/No. 0919
Separation of Concerns
Separation of concerns is a design principle that treats distinct tasks or issues separately, so each can be understood and changed with fewer demands on attention. In computing, Edsger Dijkstra described the approach in 1974; it underlies many ways of dividing software into modules.
- Evidence
- Useful, modest evidence
- Read
- 6 min
- Links
- 8 connections
01You've seen this when…
- at work
At the store’s returns desk, one employee checks the customer’s receipt and item, then hands over an approval slip. A second employee uses that slip to process the refund while the first examines the next return.
- in life
You plan a move with separate lists for packing, school enrollment and utility transfers. One shared calendar shows where their deadlines depend on each other.
- out in the world
At your bus stop, a new notice moves the first departure to 6:30. Staff replace the timetable in its own frame; the fare chart beside it stays up.
02The idea
When several responsibilities are tangled together, thinking about one pulls the others into your head. Changing a tax rule means inspecting screen layout. Reviewing a grant’s merits means remembering every eligibility condition. The work becomes harder to understand, test and explain.
A concern is a responsibility or quality that deserves focused attention: calculating a price, storing a record, protecting personal data or keeping response time low. Separation of concerns gives each a clear place in the reasoning, with explicit connections to the others.
There are two ways to use it. Separate the thinking: examine correctness, speed and usability in focused passes, then reconcile the findings. Separate the structure: give distinct responsibilities their own functions, modules or stages of a process.
This overlaps with modularity and abstraction. A module is a piece of a system; a concern is an issue the system must handle. One concern can span several modules, and a small module can still mix several concerns. Abstraction helps by letting one part use another through a simpler description.
The payoff comes from limiting what must be considered simultaneously. Clear boundaries reduce the mental burden described by cognitive load theory, while explicit connections keep the parts working together.
03How to use it
- Name the responsibilities before drawing boxes. Write down what the system must do and which qualities it must preserve. For a booking service, these might include availability, pricing, payment, notifications and privacy. This list reveals what is currently tangled together.
- Group decisions that tend to change together. Seasonal pricing rules belong near other pricing rules. Button labels belong near presentation choices. Look at recent changes: which edits repeatedly force unrelated parts to move?
- Define each boundary in ordinary language. Give each part a short description of its responsibility, the information it receives and the result it supplies. A pricing function might accept a basket and return a total with a breakdown. Make assumptions about currency, rounding and missing data explicit.
- Control the connections. Decide how parts may communicate and who owns shared information. If every module can alter every other module’s data, the boundaries provide little protection from tight coupling. A boundary becomes useful when its rules constrain the interactions.
- Check each part and the whole. Test pricing rules with sample baskets. Test the complete checkout with pricing, payment and receipts connected. Keep a separate review for concerns such as security that cross several boundaries.
- Revise the split after a few changes. Notice where edits spread, duplicated rules appear or handoffs create delays. Merge boundaries that add ceremony without reducing complexity. Move responsibilities when experience shows that the original grouping was awkward.
For a personal plan, the same method can be lightweight: separate lists, a named owner for each task and one place to track dependencies. A few clear rules can provide enough structure.
04A worked example
In the 1960s, Edsger Dijkstra and colleagues at Eindhoven built the THE multiprogramming system for an Electrologica X8 computer. Several programs needed to share a processor, memory and input/output devices. Those activities interacted constantly, creating a difficult reasoning problem.
What it looks like An operating system arranged as a hierarchy of layers, each supplying facilities used by higher layers.
What’s actually going on The lowest layer handled processor allocation. The next handled memory management, including transfers between main memory and a drum store. Higher layers could use the facilities below them under defined assumptions. A programmer working at a higher level could reason about a process without following every processor interruption or memory transfer.
What made it work The responsibilities and dependency order were deliberate. Dijkstra described testing the system from the bottom upward, so each stage could rely on facilities already tested. This confined each stage to a smaller set of interactions. The layers made complex behavior easier to build and examine.
The paper documents a working design and its development method. It offers no controlled comparison showing how much time the team saved. Its value as an example lies in the concrete boundaries and the reasoning those boundaries enabled.
05When to reach for it
Use it especially when different parts change at different rates. A stable calculation can keep serving a frequently redesigned interface.
06When it misleads
- Every concern becomes another component. Excessive splitting creates configuration, navigation and communication costs. A short script with a single purpose may be easier to understand in one file. Keep the structure proportionate to the work.
- A cross-cutting concern gets confined to one team. Security, accessibility and reliability affect many parts. Give these concerns shared standards and end-to-end checks. Assigning a security owner cannot make every other boundary safe automatically.
- Local success hides a whole-system failure. Each part can pass its tests while the combined process loses data, rounds amounts inconsistently or responds too slowly. Integration tests and complete user journeys expose these gaps. A leaky abstraction is a warning that details assumed to be contained are escaping across a boundary.
- The organizational chart becomes the design. Conway’s law describes how communication structures shape systems. Department boundaries can help assign ownership, but they can also force customers through unnecessary handoffs. Check the complete task from the user’s side.
Separation carries a coordination cost. Judge a boundary by whether it reduces the total effort of understanding, changing and operating the system. Include the connections in that assessment.
07Roots
In a 1974 essay, Edsger Dijkstra addressed a programmer’s crowded attention. The same program demanded correctness, efficiency and a structure people could understand. Each demand called for a different line of thought. He described separation of concerns as a way to study one aspect while temporarily setting others aside, then bring the results together.
The engineering practice already had a history. Dijkstra’s THE system had demonstrated a layered approach years earlier. In 1972, David Parnas used a keyword-in-context index—a program that alphabetizes rotated lines of text—to compare ways of dividing software. He argued for modules organized around design decisions likely to change, with those decisions hidden behind interfaces.
Dijkstra gave a broad name to the reasoning discipline; Parnas supplied an influential rule for choosing software boundaries. The idea spread through software architecture and interface design. Its use also extends to reviews and workflows, where separating judgments can help people examine each one carefully before making a combined decision.
08How solid is this?
Foundational system designs and decades of software practice support it as a useful design principle. Benefits depend on the boundaries, interfaces and integration work; the historical examples do not establish a universal gain from adding more separation.
09Connections
- Often confused with Modularity, Abstraction
- Helps counter Tight Coupling, Technical Debt
- See also Conway’s Law, Leaky Abstraction, Cognitive Load Theory, System Boundary
10Origin and sources
Edsger W. Dijkstra explicitly described separation of concerns in his 1974 essay On the role of scientific thought. Earlier layered and modular software designs, including Dijkstra’s THE system and David Parnas’s work, supplied practical foundations.
- [1]Dijkstra, E. W. (1974). On the role of scientific thought. EWD447.
- [2]Dijkstra, E. W. (1968). The structure of the “THE”-multiprogramming system. Communications of the ACM, 11(5), 341–346.
- [3]Parnas, D. L. (1972). On the criteria to be used in decomposing systems into modules. Communications of the ACM, 15(12), 1053–1058.
Updated 2026-10-05