Boiling onions
Paul Cézanne, Still Life with Onions, 1896–98. Musée d’Orsay. RMN (Musée d'Orsay) | Hervé Lewandowski
Peter Naur believed that software could outlive the understanding that made it possible. That the code could remain intact. That people could continue to use it. That it might still produce useful results. But if the team that understood it had gone, something essential would be missing. That loss would become apparent when the software needed to change and nobody could make sense of how to do it.
In Programming as Theory Building, Naur described programming as the development of an understanding. His theory connected the program with the world it was intended to serve. It included why the software was organised as it was, how its parts related to one another, and how it might respond to circumstances its makers had not yet encountered. The code and documentation could carry some of this knowledge. They could not carry all of it. (Peter Naur)
Naur’s idea puts much of software’s value somewhere we find difficult to observe. We can inspect the code and demonstrate the features. But understanding is distributed among people, in the questions they know to ask and the consequences they know to anticipate.
A friend of mine describes software as “late-breaking documentation for all the conversations you should have been having”.
Those conversations are part of how an organisation discovers what it means. A familiar word turns out to mean different things to different people. An exception turns out to be the ordinary case for somebody else. A request for a feature exposes a disagreement about who should be allowed to do what. Working out how to make something requires us to encounter these differences and decide what to do about them.
The decisions include what we choose not to build. A field might be absent from a form because nobody needs the information, because collecting it would cause harm, or because nobody thought about it. The finished form gives us little help in telling these apart. Yet each is a different starting point for the next person asked to change it.
Product development produces three things, if you’re lucky: new software, new learning, and work for our future selves.
The software is the most visible. It gives people something they can use, and gives us something we can point to as evidence that work has happened. Learning is harder to see. It may consist of discovering that an attractive idea is a bad one, that a problem is different from the one we imagined, or that two apparently separate needs can be met in the same way. Sometimes the most useful result is a clearer understanding of what we should leave out.
The future work arrives with what we have made. People begin to rely on it. They organise their activities around it. Its dependencies change, its assumptions become less reliable, and eventually someone has to decide what to alter, replace or retire. A useful service creates responsibilities simply by becoming useful.
Learning affects how well we can meet those responsibilities. It gives us a better chance of recognising which parts of a system can change, which choices deserve to be reopened, and where apparently harmless alterations might cause trouble. We leave our future selves both work to do and some of the means to do it.
This is why the value of software cannot be reduced to the code. Its value includes what people can do with it, and our capacity to keep it useful as their circumstances change.
Generative AI changes the relationship between these three results. We can now produce software with much less involvement in the decisions that shape it.
Naur’s account of a program’s death concerns understanding that has been lost. Generative AI makes it easier to produce software before much of that understanding has developed at all.
That changes the conditions in which thinking happens.
When making something requires appreciable effort, there is a reason to consider where that effort should go. We talk to people. We look at how they work. We consider alternatives and ask which uncertainties matter. We decide what a prototype might help us discover, and how little we need to make to discover it. The cost of production gives some of this enquiry an immediate justification.
It is a crude incentive. Expensive development can also encourage endless discussion and make people reluctant to abandon a bad idea. But removing the cost does not automatically preserve the thoughtfulness. It removes one of the reasons for it.
A generated prototype offers a different sequence. We can have something to improve before we have spent much time deciding what to explore. There are screens to rearrange, interactions to tweak and errors to correct. Each improvement suggests another. The work acquires an agenda through the thing that now exists.
We move from considering possibilities to improving a possibility. Divergent thinking gives way to convergence. That movement is necessary eventually, but it can happen before we have understood what we are committing to. The first plausible answer begins to organise the questions we ask next.
There is a particular risk here for organisations that find delivery easier to recognise than discovery. A working feature can be demonstrated. A better understanding of why the feature is unnecessary takes more explaining. If the visible result is what receives attention, the time saved in production may simply become an expectation of more production. The opportunity to explore expands, while the permission to explore contracts.
The consequences may take time to appear. Software can work well enough under familiar conditions while concealing how little its owners understand about its limits. Then a dependency changes, an unusual case appears, or a familiar rule needs to be removed. The team has to investigate decisions it did not know it was making.
Margaret-Anne Storey describes this problem as cognitive and intent debt. Cognitive debt concerns gaps in a team’s shared understanding. Intent debt concerns the missing account of goals, constraints and reasons. Both can accumulate around technically sound code. The implementation may be competent, but the people responsible for it cannot adequately explain what it assumes or why it takes the form it does. (arXiv)
Knowledge can fade over time, or it may never be established at all. These are different kinds of absence. A forgotten decision might be recovered from a conversation, a ticket or the memory of someone who was there. A decision nobody examined has no such history. We can explain what the software does. We can invent a plausible reason for doing it that way. Neither tells us whether the choice was ever appropriate.
Documentation can preserve reasoning that took place. It cannot provide answers to questions that were never asked. Tests can establish that an implementation behaves as expected while leaving the expectations themselves unexamined.
Meanwhile, the software keeps creating work. More people depend on it. More decisions become attached to its existing behaviour. An unexplained rule becomes difficult to remove because nobody knows what might depend on it. Keeping it feels prudent, wise even. Over time, uncertainty can acquire the authority of a requirement.
We may have produced more of the first result, less of the second, and made the third harder to deal with.
There is another possibility, and it is a much more attractive one. Cheap production could allow us to encounter a wider range of ideas, test more assumptions and discover things we would previously have been unable to afford to investigate. An AI system could help us find alternatives, make unfamiliar behaviour easier to examine, or build something that lets another person show us what we have misunderstood.
Tom Chi’s work on rapid prototyping offers a useful example of what it takes to make that possibility real. His team, at Google X, used hairbands and fishing line to explore gesture controls for Google Glass. They could experience an idea before investing in gesture-recognition technology. Speed mattered because it allowed them to find things out cheaply and move on.
What distinguishes Chi’s prototype is not its cheapness but its purpose. It existed to reduce a particular uncertainty or risk, or to test an assumption. Once it had answered that question, it could be discarded.
Chi also argued for leadership that made room for broad exploration before the work narrowed into development. That was part of the achievement. The materials were simple; the judgement about what to make, what to learn from it and when to change direction was anything but simple. A prototype could be valuable because it changed what the team wanted to do next. (Mind the Product)
The same might be true of an AI-generated prototype.
Perhaps these practices will eventually become habitual. We may develop ways of working in which learning through these tools is as familiar as producing with them. For now, some of the enquiry will need to be protected deliberately. What once happened partly because implementation was difficult may need to happen because we have decided it matters.
That is a question of leadership, professional practice and what we count as progress. It is also a reason to be careful about the practices we introduce. Following a process can become another way of avoiding the question it was meant to help us ask.
In “Chromium”, a chapter of The Periodic Table, Primo Levi recalls finding a varnish recipe that instructed its reader to add slices of onion towards the end of boiling linseed oil. No explanation was offered. An older varnish-maker knew the answer. Before thermometers came into use, workers had dipped a slice of onion into the oil on a skewer. When it began to fry, they knew it was at the right temperature. (Granta)
What had been a way of measuring had survived as an ingredient. The recipe preserved what to do while losing what the action was for.
We can leave our future selves very accurate instructions and still leave them poorly equipped to understand what they have inherited. We can also produce those instructions before we have done much to understand them ourselves. In either case, the work continues, and its continuation can look reassuringly like competence.
The next person may become very good at boiling the onions. They may never discover that what they inherited was a thermometer.