What making software involves · lesson 6 of 8
Ideas in this lesson
ABrooks’s lawadding people to a late project makes it later
BLines of communicationone for each pair of people on a team
CRamp-upthe time a new person needs before they help

People, time and Brooks’s law

Last updated

When a project falls behind, the obvious fix is more people. In 1975 Fred Brooks, who had managed one of IBM's largest software projects, warned that adding people to a late software project makes it later. In this lesson you'll see the three reasons he gave, count how communication grows with a team, and run a toy simulation to see when his warning holds and when it doesn't.

By the end of this lesson you can

  • Give Brooks’s three reasons why adding people to a late project can delay it
  • Count the lines of communication in a team of n people
  • Say when adding people helps and when it doesn't

A person-month isn’t a unit of work

Fred Brooks managed the software for IBM's System/360 computers in the 1960s, one of the largest software projects of its time. In 1975 he wrote The Mythical Man-Month, and in it a rule now called Brooks's law: adding manpower to a late software project makes it later.

The title is the point. People plan in "person-months": 12 person-months of work is one person for a year, or twelve people for a month. That only works if the work can be split freely, and Brooks gave three reasons it can't:

  1. Some work can't be split. Brooks's example: bearing a child takes nine months, however many people are assigned. In software, one tricky part of the queue logic is one person's job; three people can't think it through three times faster.
  2. New people need teaching. Someone new doesn't know the code, the users or the decisions made so far. Until they do, someone who does has to stop and explain.
  3. Everyone has to talk to everyone. More people means more conversations to keep each other in step. That grows faster than the team does (next step).

Lines grow faster than people

If everyone on a team may need to talk to everyone else, each pair of people is one line of communication. With n people there are

n(n−1)2

lines: each of the n people pairs with the other n−1, and dividing by 2 stops each pair being counted twice. Move the slider:

3 people, 3 lines of communication: n(n−1)2=3×22=3

Try 4, then 8, then 12. The people double; the lines more than triple.

Five people have 10 lines; ten people have 45. Not every pair talks every day, which is why big teams split into small ones with few links between them. Lesson 4.3 does the same with the parts of a program.

Pila is two weeks late

It's August. Pila's team of three developers has about 30 units of work left and is two weeks behind. Kap. Ernesto offers to pay for more people. What happens?

This is a toy simulation: its rules are made up and shown under the chart, so you can see why it behaves as it does. Try adding 2 people with 30 units of work left. Then slide the work left up to 100 and watch the answer change.

all 30 units donewk 1wk 2

3 people · 3 + 2 people

Team of 3: done in 10.5 working days. With 2 more: 12.2. With 2 more, Pila finishes 1.7 working days later.

The rules (made up, for this toy)
  • Each of the 3 people who know Pila finishes 1 unit of work a day.
  • A new person finishes nothing in week 1, half a unit a day in week 2, and 1 a day after that.
  • For their first two weeks, each new person costs the team half a unit a day of someone teaching them.
  • Every line of communication (lesson step 2) costs the team 0.05 units a day.

With little work left, the new people are still learning when the project ends, and the teaching and talking cost more than they add. With a lot of work left, they pay back what they cost. Brooks's law is about the late project: one near its end.

What Brooks said, and what it doesn’t say

In the 1995 anniversary edition, Brooks looked back at his own law and called it an outrageous simplification, while standing by it as a rule of thumb. The simulation in step 3 shows why both are fair:

  • It depends on when. Early in a project, with most of the work ahead, new people have time to pay back their teaching.
  • It depends on the work. Work that splits into separate pieces (twenty translations of the help pages) takes new people well. Work that's one tangled piece doesn't.
  • It depends on the people. Someone who already knows the field and the tools learns the project faster.

What it rules out is the reflex: "we're late, so add people now". The alternatives are usually better: cut or postpone features, move the date, or remove what's slowing the team down. Lesson 3.8 is about choosing what to cut.

Spot the trap: "hire three more this week"

Spot the trapKap. Ernesto

Pila is two weeks behind, with five weeks to the launch date. Kap. Ernesto says: “I’ll pay for three more developers, starting Monday. Six people will finish twice as fast.”

What happens if…

Check what you learned

How many lines of communication does a team of 6 have?
Which is NOT one of Brooks’s reasons that adding people slows a late project?
When is adding people most likely to help?

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