Ways of working · lesson 2 of 10
Ideas in this lesson
AWaterfallphases in order, each finished and signed off
BSign-offagreeing a phase is done before the next starts
CDo it twiceRoyce: build a first version to learn from

Waterfall, and what Royce really said

Last updated

Waterfall is the best-known way of working: finish each phase, sign it off, move to the next, like water falling down steps. It's also the most misunderstood. The paper usually given as its source warned against doing it that way. In this lesson you'll see how Waterfall works, where it fits well, what Royce actually wrote, and how a single pass became the rule anyway.

By the end of this lesson you can

  • Describe the Waterfall model and when it fits
  • Explain why mistakes found late cost so much in a single pass
  • Say what Royce’s 1970 paper actually recommended

Phases in order

Unroll lesson 1.2's wheel into a line and you get the Waterfall model: requirements, then design, then build, then test, then release, each finished before the next begins. At the end of each phase the result is signed off: the client or a manager agrees it's complete, and it's not meant to change after that.

It has real strengths:

  • Easy to plan and to buy. Each phase has a clear end, so the budget and the contract can follow it.
  • Clear documents. Each phase leaves a written result the next one works from.
  • Fits work that's well understood and won't change: rebuilding a system whose rules are fixed by law, or a project with a fixed contract and a client who can't be involved week by week.

As a UML activity diagram, Waterfall is a line of phases with a sign-off between each. Walk through it with Pila:

[signed off][signed off][signed off][signed off]a mistake found late climbs backRequirementsDesignBuildTestRelease

Press Walk through it to follow the work round the chart, one stop at a time.

  1. Requirements, signed off, then Design.
  2. Design, signed off, then Build.
  3. Build, signed off, then Test.
  4. Test, signed off, then Release, once, at the end.
  5. A mistake found in testing goes back up to Requirements (a loop back), and every phase is done again.
The Waterfall model as a UML activity diagram. In UML’s notation: the filled dot is where it starts and the ringed dot where it ends; rounded boxes are actions; a diamond with a question is a decision, with the condition for each way out in [brackets], and an empty diamond is a merge, where a way back joins the flow; Pink arrows go back to an earlier action.

A mistake found late

The weakness is what happens when an early phase got something wrong. Suppose Pila had been built in one strict pass:

RequirementsDesignBuildTestReleasePink: done again after the mistake was found.
1 of 7 Requirements are written in full and signed off before anything else starts. Pila’s: “Patients sign in with email to take a number.”

In a single pass, the people the software is for usually see it only at the end, in testing or at release. By then a mistake in the requirements has been designed, built and tested on. Lesson 1.3 showed this mistake; Waterfall is where it's most expensive to fix.

What Royce really said

Waterfall is usually traced to a 1970 paper by Winston Royce, "Managing the Development of Large Software Systems". Royce never used the word "waterfall". His paper does draw the steps in a single line, and that figure is the one copied into textbooks. But under it he wrote that the implementation is "risky and invites failure", because testing comes last.

The rest of the paper recommends changes. Redrawn simply:

System reqsSoftware reqsAnalysisProgram designCodingTestingOperations
The one everyone copies. One pass, top to bottom. Royce wrote that this is risky and invites failure.
System reqsSoftware reqsAnalysisProgram designCodingTestingOperationsDo it twice:a pilot version first
What he recommended. Steps go back to earlier ones, a first version is built to learn from, and the customer is involved throughout.

Among Royce's recommendations: let each step go back to the one before; design the program before analysis is finished; write the design down; do it twice, building a small pilot version first to learn from; plan the testing; and involve the customer. Barry Boehm, writing in 1988, describes Royce's version with its feedback loops and "build it twice" step. The simple staircase is the part people kept.

How Waterfall became the rule

Large organisations wanted a process they could put in contracts. In 1985 the US Department of Defense published DOD-STD-2167, a standard for software on defence contracts, and it described development as a sequence of phases with reviews between them. Because defence contracts were so large, many companies and other governments followed.

The standard was revised in 1988 to allow other approaches, and in 1994 it was replaced by one that allowed iterative development. Today's life-cycle standard, ISO/IEC/IEEE 12207, lists the processes without requiring any order: Waterfall is one way of arranging them, not the definition of them. But contracts with fixed phases and sign-offs are still common, especially in government. Lesson 2.10 is about choosing.

Spot the trap: "Waterfall is always wrong"

Spot the trapMarco

The barangay’s contract asks for a phased plan with sign-offs. Marco says: “Waterfall is always wrong. Everyone knows that. Let’s refuse.”

What happens if…

Check what you learned

In a single Waterfall pass, why is a requirements mistake found in testing so expensive?
What did Royce’s 1970 paper say about the single pass from requirements to operations?
When does Waterfall fit well?

Sources

Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.

All sources for Simple Software Development