Ways of working · lesson 10 of 10
Ideas in this lesson
AFour questionsclarity, cost of mistakes, release frequency, team size
BTailoring1.7: adapting a method to the project
CHybridmixing methods, on purpose

Choosing a way of working

Last updated

You've now met code and fix, Waterfall, the V-model, the spiral, Scrum, Kanban, XP, Lean and DevOps. Which is best? None, everywhere. In this lesson you'll learn the questions that decide which fits a project, try them on five very different projects, and watch two ways of working meet the same change of mind.

By the end of this lesson you can

  • Ask the questions that decide which way of working fits a project
  • Match a method to a project and explain the choice
  • Explain why teams mix methods, and what “Agile at scale” argues about

No method wins everywhere

Every method in this stage was invented to solve a real problem, and each fits some projects better than others. Boehm's point about the spiral (lesson 2.4) applies to all of them: let the project's situation decide. Four questions do most of the work:

  • How clear and stable are the requirements? If they're fixed by law or physics, a planned sequence works. If they'll be discovered by trying, short cycles with users work better.
  • How costly is a mistake? If lives or large sums are at stake, more checking, more writing down and independent review (lesson 1.7).
  • How often can you release? A website can change daily; a pacemaker's software, or a satellite's, can't.
  • How big is the team? Five people can talk every day; five hundred need structure to stay in step (lesson 1.6).

The four questions can be drawn as a UML activity diagram. Treat it as a way to start the conversation, not a rule:

[yes][yes][no][no][yes][no][yes][no]Requirementsstable?Mistakesdangerous?V-model, withindependent testsA plannedsequenceNew, largeand risky?Spiral: biggestrisk firstSteady streamof requests?KanbanScrum, withXP practicesThen tailor it, and automatetesting and releases (DevOps)

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

  1. Requirements clear and stable? If yes: mistakes dangerous? If yes, the V-model with independent tests; if no, a planned sequence.
  2. If the requirements aren’t stable: new, large and risky? If yes, the spiral.
  3. If not: a steady stream of requests? If yes, Kanban; if no, Scrum with XP practices.
  4. Whichever you reach: tailor it, and automate testing and releases.
One way to start choosing a method, 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]; Pink arrows go back to an earlier action.

Five projects, four questions

Choose a project to set the sliders, or move them yourself. The fit is worked out by simple rules you can read underneath; treat it as a starting point for discussion.

Needs discovered by watching users; a failure means a paper queue for a morning; can release weekly; five people.

  1. Scrum good fit Suits uncertain requirements, frequent releases and a small team.
  2. Kanban good fit Suits a steady flow of work that can be released at any time.
  3. Spiral partly Suits big unknowns and big risks, tackled one round at a time.
  4. V-model poor fit Suits clear requirements, high cost of mistakes, proof that everything was tested.
  5. Waterfall poor fit Suits clear, stable requirements and rare releases.
How the fit is worked out (made up, for this toy)

Each slider counts from 0 (left) to 1 (right). Waterfall scores clear requirements and rare releases; the V-model, clear requirements, costly mistakes and rare releases; the spiral, unclear requirements and costly mistakes; Scrum, unclear requirements, frequent releases and a small team; Kanban, frequent releases and unclear requirements. Real choices weigh much more, starting with the people.

Notice that the bank and the tax system come out with no clear winner. Large, high-risk projects usually take parts from several methods.

When Ate Cora changes her mind

A toy simulation: the same Pila, built two ways, when a requirement changes in week 6.

WaterfallScrumRRDDBBXXXBBBTTLS1S1S2S2S3S3S4S4S5S5Lweek 6: the changeR requirements · D design · B build · X redo after the change · T test · S sprint · L launch
1 of 6 Week 0. Two Pilas start: one as Waterfall, one as Scrum with two-week sprints. Both plan to launch in week 11.
The rules (made up, for this toy)
  • Both teams have the same people and plan to launch in week 11.
  • Waterfall: 2 weeks of requirements, 2 of design, 4 of building, 2 of testing, then launch. A change after sign-off costs 3 weeks reopening requirements and design, plus 1 week redoing what was already built.
  • Scrum: five two-week sprints, each ending with something Ate Cora can try, then launch. A change goes to the top of the backlog and is built in the next sprint, in place of lower-priority work, which waits for a later release.

The difference isn't that Scrum teams work harder. It's that the change arrived while the work was still in small, finished pieces, and the user had been trying them all along. With requirements that will change, short cycles are cheaper. With requirements that truly won't, the sign-offs cost little and give a clear plan.

Mixing methods, and Agile at scale

Most real teams mix. Pila runs sprints from Scrum, tests and pairing from XP, a Kanban board after launch, a pipeline from DevOps, and a phased contract for the barangay's budget. That's tailoring (lesson 1.7): choosing the parts that fit, on purpose. ISO/IEC/IEEE 12207 expects it: its processes are meant to be tailored to each project.

A mix chosen by accident is different. A common one is "Agile" in name only: sprints and daily meetings, with a fixed scope, a fixed date and no contact with users. It has the costs of both and the benefits of neither.

For large organisations with many teams, several frameworks offer Agile at scale, such as SAFe (the Scaled Agile Framework) and LeSS (Large-Scale Scrum). They're argued about. Supporters say large organisations need shared structure to plan across dozens of teams; critics, including some of the manifesto's signatories, say the heavier frameworks bring back the central planning Agile was meant to replace. There's little independent research either way, so treat strong claims for or against with care.

Spot the trap: "a famous company uses it"

Spot the trapMarco

Marco reads that a famous technology company deploys thousands of times a day with its own scaled framework. “Let’s do exactly what they do.”

What happens if…

Check what you learned

A pacemaker’s software: requirements set by medicine, a mistake can kill, releases need approval. Which fits best?
Why did the Scrum Pila handle the week-6 change better in the simulation?
What is tailoring?

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