Book Deep-Read · A Philosophy of Software Design · Chapter 3

Working Code Isn't Enough

A Philosophy of Software Design · Ch 3 · Working Code Isn't Enough (Strategic vs. Tactical Programming) · Ousterhout · 2nd ed 2021

中文 →

What is this chapter about?

The last chapter said software complexity piles up a little at a time. This one asks: if everyone knows that, why do we keep piling it up? The answer is a mindset. Do you "just get it working," or do you "tidy the house as you go"? Those two habits decide whether a project gets faster or slower a year from now.

An analogy

Two people move into new homes. The first drops things wherever and says "let's just move in" — the first week is wonderful. The second spends ten extra minutes a day putting things away and labeling cupboards, and looks slow at first. Three months later, the first person digs for everything; the second just reaches for it. Who is faster in the first week and who is faster after a year are often reversed.

Why the old way is hard

Most programmers live in a loop of "take a task, finish it, hand it in." In that rhythm the easiest move is always to patch around the problem: add a special case here, copy some code there, "clean it up next time." Each choice is reasonable and genuinely faster. The trouble is that "next time" rarely comes, patches pile on patches, and the system turns into a knot nobody dares touch. Teams even grow a certain kind of star: ships fast, gets praised, and leaves a mess that others spend extra time cleaning up.

How it works, intuitively

What it buys you / how to choose

It turns "is this code clean?" from personal taste into a trade you can discuss: spend a little time today so every future change is a bit faster. The author's verdict is clear: default to strategic, even at a rushed startup. One honest cost: you really are slower for the first few months, and "how much faster later" is a judgment from experience — nobody has measured it precisely.

Remember it in one line

Working is only the passing grade; put a little time into the design every day, like saving — slower at the start, much faster a year later.

Want the full picture of tactical programming and the "tactical tornado," where the 10–20% figure comes from, proactive vs. reactive investment, why technical-debt interest never gets paid off, why Facebook changed its motto, and where this argument is weakest? → Switch to Deep