A 1985 paper by Peter Naur is getting a second life among developers who work with coding agents. Its claim is that programming is not about producing program text at all. Programming as theory building, in Naur’s account, means that the code and its documentation are only a by-product, and the real asset is what the programmers understand. That view now shapes how some engineers decide what an agent may change.
What Naur argued
Naur, the N in BNF, borrowed his definition of theory from the philosopher Gilbert Ryle: the knowledge a person needs not only to do something intelligently but to explain it, answer questions about it and argue about it. A programmer who holds the theory can do three things. They can explain how the program relates to the part of the world it handles. They can explain why each piece is the way it is. And they can respond sensibly when the world changes and the program has to follow.
Naur held that none of this can be fully written down, because it rests on recognizing similarity between situations, which doesn’t reduce to rules. Most of a theory stays tacit.
The compiler case
The paper’s example is a compiler. Group A builds it. Group B gets the full source, design discussions and personal advice from Group A, then proposes extensions that ignore facilities already in the compiler. In Naur’s words, such patches effectively destroyed its power and simplicity. Group A spots the problem instantly each time and can explain how to do the job inside the existing structure.
Years later, other programmers inherit Group B’s compiler with no guidance. Ten years on, the original structure is still visible but made ineffective by amorphous additions of many different kinds.
Developers who lean on language models describe the same pattern: invented names for concepts that already exist, mutable state scattered around, and a narrow new test bolted on for every change.
Dead programs and agent sessions
Naur says a program lives while a team holding its theory is in charge, and dies when that team is dissolved. A dead program can keep running and producing useful output. Death shows when requests for modification can’t be answered intelligently. Rebuilding the theory from text and documentation alone he calls strictly impossible, and he recommends discarding the text and solving the problem afresh.
One developer who runs a background agent loop over their own repositories applies that to agents. A vibe-coded script, such as one mapping MIDI dials to monitor brightness, is born dead and that’s fine: if it must change, generate a new one. The line between living and dead code doesn’t run along how much a model wrote.
The argument against relying on the model is that every coding session starts from text: the code, perhaps documentation, perhaps an AGENTS.md or a plan file. Each session is an attempted revival from documentation. Whatever a model holds during a session, it carries into the next only as more text. That may explain why agents behave oddly around plan files, either maintaining them as documentation or fixating on where the code departs from the original plan.
How one setup keeps the theory human
The loop runs only on repositories the developer controls. Agents work mostly on filed issues and open pull requests. A separate review agent looks at each one first and says “merge” or “revise.” The human only starts reading once it says merge.
The loop produces text, not theory. Nothing becomes part of the program until the developer has absorbed it into their own understanding or rejected it. A dependency bump with green tests gets near-instant approval. A feature touching the core can sit for a long time. For hard cases, the developer reads the code alongside an agent and puts the questions they’d ask a human author.
The developer’s rule of thumb: theory-building is code review done properly. Another programmer, Kevin Lynagh, is trying a different route, with types and signatures written first and agents filling the holes. Both agree the method is personal. Naur himself wrote that programming has no single right method.
What to watch
Naur’s remedy for programmers treated as replaceable parts was to give them the status of professionals who own the activity. The open question for teams adopting agents is the same: who keeps the theory when the text is cheap. Expect more teams to set explicit review gates, since without them nothing guarantees a person understands the system.
Source: Veit's Blog