In this conversation, John Ousterhout explains how software design can make complex systems easier to build and change. His central claim is that design is about choosing how to divide a large problem so each part can be worked on without making everyone understand every detail at once. Watch the full conversation.
Manage complexity in two ways
Ousterhout describes software design as a decomposition problem: take a large, complicated system and divide it into smaller units that can be implemented relatively independently. He says the first and most powerful approach is to eliminate complexity where possible—for example, by avoiding unnecessary special cases. But not all complexity can be removed. The second approach is modular design: put complicated details behind a boundary so that one part of the system can handle them without forcing every other part to know them (14:24; 18:56).
That explanation makes clear why decomposition is not simply a matter of making many small files. A module helps when the rest of the system can use it without learning its internal machinery. Ousterhout calls a module “deep” when it offers a relatively simple interface while handling substantial work inside; shallow modules provide less hidden value for the surface area they ask callers to understand. A pile of small pieces can therefore increase complexity if every caller must coordinate them or learn another interface (26:44).
The practical question becomes: what does this boundary let other parts ignore? If the answer is “very little,” splitting the code may have moved complexity rather than reduced it. If the answer is “a lot,” the module can make work easier even if its internals are complicated.
Move between the big picture and the details
Ousterhout says there is no reliable recipe for design, but describes two approaches with different pitfalls. Bottom-up design starts with a needed piece of functionality and builds components one at a time, only later trying to fit them together. This can be useful when the overall system is unclear, but the pieces may not combine well. Top-down design starts with the whole system, divides it into components, then keeps decomposing until the units are implementable. This can create a coherent high-level structure, but early assumptions may be wrong when they meet implementation details.
His preferred process combines the two: think about the large pieces, work through some smaller ones, build enough to learn, then revise the design as needed. He describes the process as iterative back-and-forth, not a choice between planning everything up front and coding with no plan (17:04).
That is the reasoning behind “design it twice.” When an engineer immediately implements the first idea that comes to mind, they may miss a design that better hides complexity or fits the problem. Ousterhout says the alternative need not take as long as people expect: comparing a second approach can expose trade-offs while the choice is still cheap to change. The conversation discusses using design documents to work through such options; the point is not paperwork for its own sake, but making the reasoning visible before a team commits to one path (19:56; 23:24).
Design for the person who uses the boundary
A module’s interface is a promise to its caller. Error handling and special cases matter because they determine what a caller must know and what surprising conditions can escape the module. Ousterhout argues that good design can sometimes remove a special case altogether; when that is not possible, modularization can contain it. This gives a designer two distinct options: simplify the problem so the exception disappears, or hide the unavoidable complication where it will affect fewer people (18:56; 28:25).
The interview connects this to empathy for future readers. A maintainer may not know why a method handles an unusual case or why a design takes a less obvious route. Ousterhout supports comments that explain what the code cannot show on its own—intent, assumptions, or reasons behind a decision—rather than comments that simply restate the code. In that way, a comment can help preserve the design knowledge that would otherwise be lost when the original author moves on (33:31; 1:05:30).
This does not mean every decision needs a long document or comment. The useful test is whether the added explanation saves a future reader from having to rediscover an important reason or constraint.
Evaluate practices by whether they help understanding
Ousterhout challenges “short methods” as an absolute rule. A method can be brief but still force readers to chase the flow across many layers; a longer method can be clear if it expresses one coherent operation. He argues that the goal should be to make code understandable and manage complexity, rather than optimize for a line count (55:48).
He is also critical of treating test-driven development (TDD) as a replacement for design. In the interview, he argues that TDD encourages implementing one piece at a time, which he sees as potentially reinforcing bottom-up development without first considering the system’s structure. That is his critique of TDD’s design effect, not a claim that testing is useless or that every project should avoid TDD. His broader point is that tests and coding routines do not remove the need to decide how responsibilities and interfaces should fit together (1:01:08).
Code generation does not answer every design question
Ousterhout expects AI tools to make it easier to produce lower-level code. He is more uncertain about whether they can replace higher-level design; he says current tools do not yet lead him to that conclusion, while cautioning that future capabilities are hard to predict. His argument is conditional: if code generation becomes easier, software designers may spend a larger share of their time on design itself (11:59).
Hermes’s synthesis: Before adding a boundary, ask which complexity it removes or hides, and which knowledge it pushes onto callers. Then compare a second design while changes are still easy. Those questions focus review on the understanding a design creates, rather than on the number of files, methods, or rules it satisfies.