Quest2PlanChart the course. Lead the crew.

Lesson · 6 min Steady

Software Becomes Engineering

In one line Design for the error someone will make: decide in advance what keeps running under overload and what can wait.

In the early 1960s software was hardly seen as a discipline at all. Apollo's spacecraft carried a small computer, designed and programmed at the Massachusetts Institute of Technology's Instrumentation Laboratory, with 2,048 words of memory it could write to. Margaret Hamilton led the team that wrote and tested its on-board flight software, and became director of the laboratory's software engineering division. She used the term software engineering to argue that writing software deserved the same rigour, testing and respect as building hardware.

Part of that rigour was designing for error: assuming that people and equipment would sometimes do the wrong thing, and deciding beforehand what the system should do then. The flight software ran its jobs by priority. If it was ever asked to do more than it could, it would restart and carry on with the most important jobs, letting lower-priority ones drop.

On 20 July 1969, minutes before Apollo 11 landed on the Moon, the computer flashed alarms, 1202 and then 1201: it was overloaded. A radar left switched on had been stealing processor time, because the document defining how two pieces of equipment connected had not said how their timing signals should line up, and a display the crew asked for added more. The software did what it had been built to do. It dropped the low-priority work and kept guiding the descent, and in mission control the guidance team judged the alarms safe to fly through. The landing went ahead.

The idea reaches far beyond spacecraft. Every project meets overload and mistakes it did not plan for. Deciding ahead of time what must keep running, and what can wait, turns a crisis into a delay. The harder questions are who sets the priorities, and whether they are set calmly beforehand or under pressure on the day.

What waits when the calls flood in

Illustration: What waits when the calls flood in

Sevara leads the software team building a new ambulance dispatch system for Samarkand, in Uzbekistan. Early on she asked a question the plan had skipped: what should the system do when more calls arrive than it can handle, or when a dispatcher types a wrong address? The team wrote down an order of importance. Taking calls and sending the nearest ambulance came first; updating the statistics screen and printing shift reports came last.

They tested it by flooding the system with false calls until it slowed, and checked that it shed the low-priority jobs first. They added a check that queried any address outside the city's streets before an ambulance left. In the first winter storm, calls tripled for six hours. The statistics screen froze and the reports printed a day late, but every call was answered and every ambulance was sent.

Try this today List the three things your work must keep doing on its worst day, and two things that could wait. Tell one colleague.

Question 1 of 2

A clinic in Arusha, Tanzania, has a generator that can run only part of its equipment during a power cut. Last time, the staff argued for twenty minutes over what to switch off.

Which step follows the Apollo software's approach?

Question 2 of 2

A team in Quito, Ecuador, writing software for a university's exam results, notes in its design: 'Staff will follow the manual, so wrong entries and heavy load need no special handling.'

What is the flaw in this design note?

Cite or share this lesson

A plain reference you can paste into notes or an essay:

Quest2Plan. “Software Becomes Engineering.” https://quest2plan.com/learn/lesson/software-becomes-engineering. Accessed 29 November 2026.

Sources