Sprout · A rough idea or first thought
No silver bullet
本From my notes on Software development and AI
Every few years, something comes along that promises to make programming ten times faster. In 1986, Fred Brooks, who had managed the building of IBM’s OS/360, wrote an essay arguing that none of them would. He called it No Silver Bullet, after the one thing that can stop a werewolf. A software project, he said, is like a werewolf: it looks harmless and familiar, until it turns into a monster of missed deadlines, blown budgets and broken products. And everyone wishes for a silver bullet.
There is no single development, in either technology or management technique, which by itself promises even one order-of-magnitude improvement within a decade in productivity, in reliability, in simplicity.
Forty years later, AI coding agents look more like a silver bullet than anything before them. So it’s worth going back to the essay and asking what Brooks thought the hard part of software actually was.
No Silver Bullet: Essence and Accidents of Software EngineeringThe original essay. Long, but most of it still reads as if it were written this year.
Essence and accidents
Brooks borrowed two words from Aristotle. The essence of software is the difficulty that comes with the problem itself. The accidents are the difficulties that come from how we happen to build software today.
The essence is the thinking: working out what the system should do, which ideas it’s made of, and how they fit together. Brooks described it as “a construct of interlocking concepts”. The accidents are everything it takes to write those ideas down for a machine: syntax, boilerplate, wiring up libraries, chasing typos, waiting for builds.
I believe the hard part of building software to be the specification, design, and testing of this conceptual construct, not the labor of representing it and testing the fidelity of the representation.
His argument was that the big wins of the past, such as high-level languages, time-sharing and better tools, had all been attacks on the accidents. They worked. But they could only shrink the part of the work that was accidental to begin with. Once that part is small, removing all of it still won’t make you ten times faster. The essence stays the same size.
AI eats the accidents
Brooks actually looked at AI in the essay, along with “automatic programming”: generating a program from a description of the problem. He wasn’t impressed, and he quoted David Parnas:
In short, automatic programming always has been a euphemism for programming with a higher-level language than was presently available to the programmer.
That describes prompting an agent pretty well. English is the newest higher-level language. And like every higher-level language before it, it’s very good at the accidents. Agents write the boilerplate, remember the API, fix the type error and wire up the tests. Work that used to take most of a day can take minutes.
What they don’t remove is the essence. Someone still has to decide what the system should do, and Brooks called that the hardest part of all:
The hardest single part of building a software system is deciding precisely what to build.
That’s why the same idea keeps coming up in these notes. When software gets cheaper, the question becomes “should we build this?”. When an agent writes the code, review is where the thinking gets checked. In agent structures, the part left for people is saying clearly what we want. Each time, it’s the essence, showing up once the accidents are out of the way.
Cheaper ways into the essence
Brooks wasn’t hopeless about the essence. He named a few things that could help with it, and two of them sound very current. One was rapid prototyping, because people can’t say what they want until they see something. The other was growing software step by step instead of building it all at once. Software, he suggested, should be grown, not built, which is a nice thought to find in a garden.
Both got much cheaper with AI. A prototype that once took a week now takes an afternoon, so you can show people three of them and watch how they react. That’s the probe from Cynefin, and part of why estimates matter less in agile when building is cheap. AI doesn’t do the essential work for you, but it makes the experiments that feed it much cheaper.
New accidents
There’s a catch. AI also makes it easy to add new accidental complexity. An agent will happily add another layer, another config option, another helper that does the same thing as one three files away. Each piece looks reasonable on its own. Together, they make the system harder to understand than the problem ever required.
So the accidents don’t only get cleared away. They can also pile up faster than before, and someone has to notice them and take them out again. Code that was cheap to write is still code that someone has to read, test and keep running.
Root and tips
In Chinese, No Silver Bullet is translated as 没有银弹. But the idea fits an older Chinese pair even better. 本 is a tree 木 with a mark at the root: the origin, what’s essential. 末 is the same tree with a mark at the top: the tips of the branches, what’s incidental. The idiom 本末倒置 means putting the tips before the root, or mixing up what’s incidental with what matters.
That’s the risk with fast tools. AI makes the tips grow quickly: more code, more features, more output to look at. It’s easy to spend all your time tending that growth and forget to check the root, whether we understood the problem and whether we’re building the right thing at all. The hard part of software was never the typing. It was the thinking, and it still is. It’s also why the generalist should keep one deep root.