Iterative, incremental and spiral
Last updated
Instead of going round the wheel once, slowly, you can go round it many times, quickly. Build a small piece people can use, learn from it, and build the next. In this lesson you'll tell incremental from iterative development, see what prototypes are for, and meet Barry Boehm's spiral, where each round starts with the biggest risk.
By the end of this lesson you can
- Tell incremental from iterative development
- Say what a prototype is for, and when to throw it away
- Describe Boehm’s spiral model and why it starts with risk
Round the wheel many times
Waterfall goes round lesson 1.2's wheel once. The alternative, used since the 1960s and described by many authors, is to go round it many times, each time with something smaller. Two words describe two different ideas, and they're often used together:
| Incremental | Iterative | |
|---|---|---|
| The idea | Build it one slice at a time; each slice is finished and usable | Build a rough version of the whole, then improve it round by round |
| Picture | Painting a mural one finished section at a time | Sketching the whole mural, then adding detail all over, again and again |
| Pila | Queue numbers first, then text messages, then reports | A plain first version of every screen, refined after each trial morning |
| Learns from | Users of the slices already finished | Users of each rough version |
Most modern teams do both: deliver in slices, and improve each slice in later rounds. The methods in the rest of this stage are all ways of organising that.
Slices, or all at once
Two teams build the same Pila in the same time. Watch what the health centre has along the way:
The slices team spent the same effort, but its users had something from week 4, and every slice was shaped by how they used the one before. The risk in the all-at-once version stays hidden until the end; in slices it shows up early, while it's cheap to fix (lesson 2.2's staircase).
As a UML activity diagram, incremental development is one loop, run once for each slice:
Press Walk through it to follow the work round the chart, one stop at a time.
- Start from the core idea.
- Pick the next slice, then design, build and test it.
- Release it to users, and listen to their feedback.
- Done enough? If not, go back and pick the next slice (a loop back). If so, stop adding and maintain it.
Prototypes
A prototype is a quick version built to answer a question, not to keep. Paper sketches of Pila's screens, shown to Ate Cora, are a prototype. So is Marco's weekend version of the queue (lesson 2.1).
- A throwaway prototype answers its question and is discarded. It's built fast, with shortcuts that would be dangerous in the real thing.
- An evolutionary prototype is built more carefully and grows into the product, round by round.
The danger is mixing them up: a throwaway prototype, full of shortcuts, that the client likes so much it's put into use. Decide which kind you're building before you start. Royce's "do it twice" (lesson 2.2) was a kind of prototype.
The spiral: biggest risk first
In 1988 Barry Boehm described the spiral model. Each round of the spiral goes through four quarters: set the objectives and options; find the biggest risk and reduce it, often with a prototype; build and check the next piece; plan the next round. The distance from the centre is the money spent so far.
- Round 1. Will patients with basic phones use it? Paper prototype.
- Round 2. Can text messages arrive fast enough? A small test with the telco.
- Round 3. Will the server cope with 300 at once? Load test of a first version.
- Round 4. Is it ready for everyone? Full build, trial week, launch.
Simplified from Boehm (1988). The further out, the more has been spent.
The spiral's key idea is that risk decides what comes next. If the biggest risk is that patients won't use it, the first round is a paper prototype at the health centre, not a database. If the biggest risk is speed, the first round tests speed. Boehm presented the spiral as a framework that could include the other models: a project whose risks are all small might go round once, like a Waterfall.
As a UML activity diagram, each round of the spiral is four steps and a review:
Press Walk through it to follow the work round the chart, one stop at a time.
- Start, then 1. set the objectives and options for this round.
- 2. Find the biggest risk and reduce it, often with a prototype.
- 3. Develop and test this round’s work, then 4. plan the next round.
- Review: go round again? If yes, back to step 1 (a loop back). If no, release, or stop.
Spot the trap: building for every future feature
Before the first screen exists, Marco wants to spend six weeks designing a database for every feature Pila might ever have: appointments, medical records, vaccination reminders, payments.
What happens if…
Check what you learned
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.
- Barry Boehm, “A Spiral Model of Software Development and Enhancement”, IEEE Computer (1988): the spiral model, with risk driving each round
- IEEE Computer Society: SWEBOK Guide, version 4.0 (2024): incremental and iterative life cycle models, and prototyping