Joe Stanley

Module 6

Design for Change

What will change, how fast, and what should be easy to change?

Takes about 45 minutes, plus about 20 minutes for this page.

If you only do one thing: Before your next request is estimated, write down the slowest-changing part you think it touches.

Last time

Two questions on Module 5: Map the Domain. Answer in your head, then check.

Parents see grades in an app that copies them from the gradebook each night. What do you find out before promising they’re current?
What current needs to mean: how fresh the data must be, and what breaks if it’s a day old. Freshness has a price, so promise only what parents need.
Three teams read the gradebook’s tables directly, and one breaks whenever a column changes. What would make that data a product for them?
An owner, and a promise they can count on: how fresh it is, and which changes they hear about first.

Why this matters

Your product will change over time, and its parts change at different speeds. Learn which parts, how often, and at what cost. The slowest layer a request touches usually sets its cost of change, so the pain comes when fast parts are tied to slow ones. Once you can see which is which, you’ll estimate more accurately and have a case for the work that makes likely changes cheap. Module 4: Mind the Seams asked where the boundaries fall. For a system, David Parnas’s answer is to draw them around the decisions likely to change, so each change stays inside one part.

Slow isn’t the enemy, though. A school’s record of grades moves slowly on purpose, because every transcript depends on it. Each layer has its own right pace, which Stewart Brand calls pace layering: “Fast learns, slow remembers.” Data is often the slowest layer you own, because so much reads it, and the data a feature creates outlives the feature. Module 5: Map the Domain traced its copies, and each copy is one more place a change has to reach. Some slow layers you only half own, like your app on students’ phones. You can’t roll back a version they’ve installed the way you’d roll back a server. Every fix to the app’s own code waits on the app store’s review and on each student updating, and old versions keep calling your APIs, so the APIs must keep answering them. Retiring an old version saves your team the upkeep and hands the bill to students who can’t update, often those on the oldest or cheapest phones.

There’s a precise word for what makes a change costly: complexity. John Ousterhout uses it for anything in a system’s structure that makes it hard to understand and change, and names three symptoms. Change amplification is a simple change that needs edits in many places. Cognitive load is how much you must know to make a change safely. And with unknown unknowns, nobody can tell in advance what a change will touch. With those words, you can explain why a small request took a month without blaming anyone.

The short path

  1. Stewart Brand, “Pace Layering: How Complex Systems Learn and Keep Learning”

    15 minutes. An essay. Free at longnow.org.

    Look for: Two points: slow layers control fast ones, and a layer forced to another’s pace ends badly, whichever way the push goes. One of his examples is the Soviet Union forcing a five-year-plan pace on commerce and art.

    Why this source
    Why trust it
    An argument. It’s Brand’s own, built on the architect Frank Duffy’s shearing layers of a building and refined over the years since through feedback.
    What you’ll get
    Why each layer needs its own pace. Brand’s layers are a civilization’s, and this module borrows the idea for a product.
  2. Coupling Is About a Change

    5 minutes. A concept card, one page.

    Look for: The question to ask whenever someone says two parts are tightly coupled.

  3. List your layers

    The Do, on this page, below.

    Look for: Which layers the last long request touched.

  4. Check yourself

    The Check, on this page, below.

    Look for: Why a change that looks small takes months, and when making the next one cheap is worth the wait.

Do

List your product’s layers (30 minutes). Take one product or journey you own and list its parts from fastest-changing to slowest: wording, screens, business rules, APIs, the data model, core systems of record, the contracts and laws it must meet. Guess roughly how often each changed in the last year. Then take the last request that ran long. Which layers did it touch, and which symptom of complexity showed?

For your decision log. Pick the slowest layer your team changes, and write how long you expect the next request that touches it to take, and how sure you are. You’ll know when it ships.

What a good one looks like

Journey: handing in homework.

Layers, fastest first, with a guess at how often each changed last year:

  • Wording: about 30 times.
  • Screens: 8 times or so.
  • Rules: 4 times, for late penalties, resubmissions, and group projects.
  • Gradebook API: once.
  • Data model: once, for group projects.
  • District student records: not at all.
  • Contracts and privacy law: not at all.

Last long request: teachers asked for group projects in September and wanted them by October, and they shipped in February. It touched the screens, the rules, the gradebook API, and the data model, the slowest of the four. Two symptoms showed, change amplification and unknown unknowns: the gradebook, the plagiarism check, and parent emails each assumed one student to an assignment, and the team found each one late.

Decision log:

  • Slowest layer: the data model.
  • Next request: keeping both grades after a resubmission.
  • Expect: four to six months, since group projects took five.
  • Confidence: 50% for that range, because a changed grade may have to reach district records.
  • Know by: the day it ships, which is May if work starts in December and the estimate holds.

What makes it good:

  • It logs the slowest layer the team itself changes, rather than a law it can’t touch.
  • Its symptoms come with evidence: three places that each assumed one student, found late.
  • The estimate comes from the last request into the same layer, and the reason for its 50% names a slower layer this request might reach.

Optional: walk a likely change (15 minutes). Architects run an anticipated change across a design while it’s still cheap to change. Pick a change you expect next year, such as letting students take a course pass or fail, and trace what it would touch. Outside the 15 minutes, ask a tech lead: “If we did this, which parts would have to change?” If most would, what boundary would have contained it?

To bring to engineers

Bring the changes you expect in the next year, who’s asking for each, and how likely it is, so the design can make the likely ones cheap.

  • Which of these layers is hardest to change, and why?
  • Where in our system is change amplification worst?
  • Given these changes, is the pattern you’re proposing earning its complexity, or would a plainer design do?

Check yourself

Answer in your head, then check.

Letting a student take two classes in the same period looks small on the screen. Why might it take months?
The slowest layer it touches sets the cost. If the timetable’s data model assumes one class a period, the change reaches that model and everything that reads it, and it moves at that layer’s pace.
An engineer says the gradebook and the course calendar are tightly coupled. What do you ask?
For which change? Parts are coupled only with respect to a particular change, so name the one you expect and ask whether it would make both move.
Module 1: Know Who It’s For put a price on every week of waiting. This module asks you to spend weeks making likely changes cheap. When does each win?
Price both. When a change is likely and soon, making it cheap pays for itself in the weeks it saves later. When it’s a guess, ship the value now, and count the rework in the price of the decision.
Beyond this module. Your list stops at what you build and the contracts and laws it must meet. What slow layer lives in your customers’ heads?
Their habits, and what they’ve learned to do on your screens (and those of other apps). A redesign that’s quick for you can be slow for them. After your next change to a screen people use every day, read your support queue for a week.

Go deeper: the full path

Optional, and not counted in the time above.

If you read one: A Philosophy of Software Design. It gives you the words for why a feature that ships fast can make every later one slower.

  • Seeing Like a State, James C. Scott

    A book.

    Read the introduction, then chapter 1, “Nature and Space,” on the scientific forestry of eighteenth-century Prussia and Saxony, and chapter 10, “Conclusion.” It’s dense in places, so take your time as needed.

    Why this source
    Why trust it
    An argument. Scott was a political scientist and anthropologist at Yale, and he builds his case from real schemes, from a planned capital city to collectivized farms.
    What you’ll get
    Why planners sure of one future build what can’t change, and four rules for doing better that apply to your own work: “Take small steps.” “Favor reversibility.” “Plan on surprises.” “Plan on human inventiveness.”
  • A Philosophy of Software Design, John Ousterhout

    A book.

    Read it whole. Chapters 2 and 3, on complexity and on tactical against strategic work, are the heart of it for this module.

    Why this source
    Why trust it
    An argument. Ousterhout taught a software design course at Stanford, and the book grew out of it. It’s one designer’s view, made from experience.
    What you’ll get
    The three symptoms of complexity in full, and the difference between tactical work, which gets this feature out, and strategic work, which keeps the next one cheap. That difference is the case you can make for engineering time.
  • On the Criteria To Be Used in Decomposing Systems into Modules, David Parnas (Communications of the ACM, 1972)

    A journal article.

    It’s short and dense, so read it slowly. The argument is in his comparison of two ways to split the same program, and you can skim the technical detail.

    Why this source
    Why trust it
    An argument. It’s the classic case for information hiding, keeping each decision likely to change inside one module, and he makes it from a single worked example.
    What you’ll get
    Why a system’s boundaries go around the decisions likely to change. Engineers can draw them only as well as they know what’s coming, and often you’re the one who knows.
  • Yes Minister, written by Antony Jay and Jonathan Lynn (BBC, 1980 to 1984)

    A TV series.

    Watch series 1, episode 4, “Big Brother.” A new minister wants safeguards on a national database. His predecessor drafted the same ones. He tells the new minister how the permanent secretary stalled them, one polite stage at a time, until an election took the predecessor out of office and the department wiped the slate clean.

    Why this source
    What you’ll get
    Pace layers in a government department. Ministers come and go while the civil service stays, so a change that has to pass through it slows to its speed.

Access pattern

A question a system’s data has to answer, with who asks it, how often, how fast, and how fresh.

In the glossary

Advice process

Anyone may make a decision, after asking the people it affects and people with relevant expertise. They don’t have to follow the advice, but they have to seek it out and write it down.

In the glossary

Bounded context

An area of a business or a system inside which each word and model has one agreed meaning.

In the glossary

Cognitive load

How much someone has to know to make a change safely. Team Topologies uses it for how much a team has to hold in its head.

In the glossary

Commander’s intent

The why given with a task, so people can still act when the task goes stale. From military doctrine.

In the glossary

Complexity

In John Ousterhout’s sense, anything in a system’s structure that makes it hard to understand and change. Its symptoms are change amplification, cognitive load, and unknown unknowns.

In the glossary

Conceptual integrity

Fred Brooks’s name for a product that reflects one set of design ideas, so its parts belong together.

In the glossary

Conjoint analysis

A survey method from market research. People choose among, rank, or rate versions of a product that differ in features and price, and their answers show how much each feature is worth to them. Paul Green developed it for marketing.

In the glossary

Consequence scanning

A short team conversation, early in a product’s or a feature’s life, about everything it could cause, run on three questions from Doteveryone.

In the glossary

Constraint (bottleneck)

The one part of a system that limits what the whole system can deliver.

In the glossary

Conway’s Law

A system ends up shaped like the communication between the teams that build it. Melvin Conway made the point in 1968.

In the glossary

Cost of change

What it takes to change part of a product later, set mostly by the slowest layer the change touches.

In the glossary

Cost of delay

What a week of waiting costs, in the value you don’t get while the work isn’t done. It puts urgency and value in one number.

In the glossary

Coupling

How far a change to one part forces a change to another, judged for a particular change.

In the glossary

Data-informed

Using numbers and stories for what each can tell you, while the decision stays yours. Adam Mosseri set it against being data-driven in a 2010 talk.

In the glossary

Decision record

A short note of one significant decision, with its context, the decision, its status, and its consequences. Engineers call it an architecture decision record (ADR).

In the glossary

Deprecation

Announcing that part of an API or a dataset will be retired, and when, so its callers can move before a breaking change, one that stops their code working, removes it.

In the glossary

Discovery

The work of learning whether a problem is real, whose it is, and what solving it is worth, before and while you build.

In the glossary

Double-loop learning

Questioning a goal and the assumptions behind it, where single-loop learning only changes the actions that serve it.

In the glossary

Error analysis

Reading a sample of what a model got wrong, writing a line on each mistake, then sorting the mistakes into kinds and counting them, before you decide what to test or change.

In the glossary

Error budget

The amount of failure a service’s SLO allows, treated as a budget. While some is left, releases go ahead.

In the glossary

Event time and processing time

When something happened, and when the system saw it.

In the glossary

Fake door

A button or link for a feature that isn’t built yet, shown to some customers to count how many tap it. Those who do are told right away that it isn’t ready.

In the glossary

Feature toggle (feature flag)

A switch in the software that turns a feature on or off without changing the code.

In the glossary

Feedback loop

A chain of cause and effect that runs from the level of a stock back to one of its flows. A balancing loop pulls the stock toward a goal. A reinforcing loop pushes it further the way it is already going.

In the glossary

Glue work

Tanya Reilly’s name for the work that holds a team together and rarely gets anyone promoted.

In the glossary

Goodhart’s Law

“When a measure becomes a target, it ceases to be a good measure.” The wording is the anthropologist Marilyn Strathern’s, from 1997, for a point the economist Charles Goodhart made in 1975.

In the glossary

Guardrail metric

A measure that must not get worse while you try to move another. You agree in advance the level at which you’d stop.

In the glossary

Heavyweight product manager

From a study of car development. A lightweight product manager coordinates the work. A heavyweight also champions the product’s concept, what you’d call its vision, and answers for it.

In the glossary

Holdout

A group kept out of a change on purpose, so you can compare what happens with it and without it. Picked at random, and large enough, it shows what the change itself did.

In the glossary

Hyrum’s Law

With enough callers, every behavior of an API they can see will be depended on by someone, whatever its documentation promises. Named for Hyrum Wright, who saw it as an engineer at Google.

In the glossary

Interface

Where two parts of a system, or two teams, meet, and what each side promises the other there.

In the glossary

Intersectional

Looking at where two or more groups overlap, such as gender and skin type together, not at one at a time. Kimberlé Crenshaw named the idea in a 1989 paper.

In the glossary

Inverse Conway maneuver

Shaping teams, and how they talk to each other, on purpose, to get the system you want.

In the glossary

Job crafting

Reshaping your own job from the inside, by changing its tasks, your working relationships, or how you see its purpose. Amy Wrzesniewski and Jane Dutton named it in 2001.

In the glossary

Kernel of a strategy

Richard Rumelt’s name for the three parts a strategy needs: a diagnosis of what’s going on, a guiding policy for meeting it, and coherent actions that carry it out.

In the glossary

Ladder of inference

Chris Argyris’s model of how you climb from what you notice to what you conclude and do, usually without seeing the steps. Tellings count its rungs differently. Ed Batista’s has four, and the most commonly cited one has seven.

In the glossary

Last responsible moment

The moment when putting off a decision would close off an important option. Until then, waiting to learn more can cost less than deciding wrong. Past it, waiting makes the choice for you.

In the glossary

Law of small numbers

Amos Tversky and Daniel Kahneman’s name for the belief that a small sample will look like the whole population. Small samples swing more than anyone expects.

In the glossary

Left-hand column

An exercise from Chris Argyris and Donald Schön. Beside what was said in a conversation, you write what you thought and felt but didn’t say.

In the glossary

Leverage point

A place in a system where a small change can produce a large change in how the whole behaves. Donella Meadows ranked twelve of them.

In the glossary

McNamara fallacy

Taking what’s easy to measure for all that matters. The market researcher Daniel Yankelovich named it in 1971.

In the glossary

Moral justification

Albert Bandura’s name for making harm feel acceptable by casting it as serving a worthy or moral purpose, such as a company’s mission.

In the glossary

OKRs (objectives and key results)

A goal-setting format many teams use. Each objective is paired with a few measurable key results.

In the glossary

One-way and two-way doors

Jeff Bezos’s terms for decisions you can’t easily undo, and decisions you can.

In the glossary

OODA loop (observe, orient, decide, act)

John Boyd’s model of every decision as a loop. He held that orienting, the picture you act from, matters most.

In the glossary

Operational and analytical

Operational use keeps the live service running, and analytical use looks across many records, the way reports do.

In the glossary

Pace layers

Parts of a building, a society, or a product that change at different speeds, with the slow ones setting the terms for the fast. Stewart Brand’s shearing layers, built on the architect Frank Duffy’s, are a building’s version.

In the glossary

Percentile

Where a case falls when all of them are ranked. If the 99th percentile wait is 3 seconds, 99 in 100 wait 3 seconds or less.

In the glossary

Premortem

Gary Klein’s technique of telling a team its project has already failed and asking each person, alone, to write down why.

In the glossary

Price sensitivity

How much a change in price changes what people will buy. One common survey for it is Peter van Westendorp’s Price Sensitivity Meter, from 1976. It asks at what price a product would seem too cheap to be any good, a bargain, getting expensive, and too expensive to consider, and reads a range of acceptable prices from where the answers cross.

In the glossary

Problem of many hands

Dennis Thompson’s name for harm that comes from so many small contributions that it’s hard to say who’s responsible.

In the glossary

Product judgment

A blend of lived experience, the principles behind the work, and the context of the situation, turned into intuition when making general product decisions. Coupled with product-specific expertise, it becomes what many in the field call “product sense.”

In the glossary

Product-market fit

The point where enough people with the problem keep using a product, and paying for it, that it can grow on their demand. Before it, a team is still finding out who the product is for.

In the glossary

Psychological safety

A shared belief that it’s safe to take interpersonal risks at work, such as raising a concern or admitting a mistake. Amy Edmondson’s research on teams made the idea widely known.

In the glossary

Regression to the mean

An extreme result tends to be followed by a less extreme one, whatever you did in between.

In the glossary

Right to erasure

A person’s right, under the General Data Protection Regulation (GDPR) in the EU and the UK, to ask an organization to delete their personal data, in some circumstances.

In the glossary

SCR (situation, complication, resolution)

A three-part opening for a message. The situation is what the reader already accepts, the complication is what changed, and the resolution is what you recommend or ask. It adapts Barbara Minto’s situation, complication, and question.

In the glossary

Service level objective (SLO)

A reliability target for a service, such as “up 99.9 percent of the time,” agreed before anything goes wrong.

In the glossary

Stock

Anything that builds up or drains away and can be counted or measured at one moment, such as a backlog or a bank balance. Only the flows into and out of it change it.

In the glossary

Stop rule

The result that would make you stop or change course, written before a bet goes live, with the signal you’ll watch and the date you’ll look. Written afterward, it tends to fit whatever happened.

In the glossary

Straddling

Michael Porter’s word for trying to hold two positions that don’t fit together, such as a full-service airline copying a low-cost rival.

In the glossary

Stress position

The end of a sentence, which readers naturally emphasize, so it’s the place for what you most want noticed. The term is Gopen and Swan’s.

In the glossary

System of record

The system that holds the authoritative copy of some data, from which every other copy is made.

In the glossary

Trust equation

A consultants’ model that treats trust as credibility, reliability, and intimacy, divided by self-orientation.

In the glossary

Unforced ambiguity

Ambiguity that isn’t inherent to the situation and comes from how an organization works, such as a decision nobody owns or a doubt nobody felt safe to raise.

In the glossary

Work in progress (WIP)

Work that has been started and not finished. A long queue of it in front of one step is the usual sign of a constraint.

In the glossary