Book Deep Read · Fundamentals of Software Architecture · Chapter 19

Architecture Decisions: The Reasoning Is Worth More Than the Verdict

Fundamentals of Software Architecture · Ch 19 · Mark Richards & Neal Ford · 2020

中文 →

What is this chapter about?

You buy an older house and find a pillar in the middle of the living room. You want it gone. But nobody knows why it's there: is it holding up the floor above, or was it a previous owner's decorative whim? With no one to ask, you have two options: live with it, or knock it down and hope. Software teams hit this every day: why is the system built this way? The original reasons are long forgotten. This chapter is about keeping the "why" around.

A strange thing first: the same argument, again and again

Most teams have sat through this meeting: something settled last month gets argued all over again this month, because the new people don't know why it was decided and the old hands can't quite remember. The book names it "Groundhog Day," after the film where the hero wakes up to the same day over and over.

Why the old way is hard

Decision makers tend to fall into three holes. First, afraid of being wrong, they never commit, and everyone waits. Second, once they do commit, they explain the "what" but not the "why", so the argument keeps coming back. Third, the reasons do get written, but scattered across inboxes and chat threads, where newcomers can't find them or don't even know a decision exists.

How it works

The fix is humble: for every big decision, write a decision card, like a builder's job log. The card says five things: what the decision is called; whether it's a draft, in force, or replaced by a newer one; what situation we faced and which options we had; which one we picked and why; and what good and bad things follow from it.

All cards live in one place everyone can browse, not in somebody's email. When a decision changes, you don't tear up the old card; you write a new one and mark the old one "replaced by card number such-and-such," so the whole story stays readable.

As for when to decide: not too early, when you don't know enough yet, and not so late that everyone is waiting on you. The best moment is the last point before waiting starts to cost something, when you know the most.

What you get, and how to choose

A newcomer reads the card and knows why the pillar is there, and whether it's safe to remove. Old questions stop being reopened; arguments become "has the situation changed since then?" The price: cards take time to write, and cards nobody maintains go stale and start to mislead.

One line to remember

Architecture decisions = decide on time, write down why, keep it findable. One decision card remembers, for the whole team, why things are the way they are.

Want to see how the three anti-patterns chain into each other, the two sections the book adds to an ADR, how status flows, and the trade-offs of where to store and who approves? → Switch to Deep