The classics of software started from the limits of human attention
The field's defining software thinkers gave different answers to a common question: how can a program larger than what one person can hold in their head be kept under control? With code-writing agents now in the picture, their answers gain a new addressee, while the question remains.
How this was made: this essay was written by the author's own research and analysis system from the cited sources; Zoltán Varga edited the topic, structure and final text. The cited works are the source of its factual claims.
The profession's best-known rules now circulate without an author. The developer avoids the jump statement, hides the module's internals, writes a test alongside the code, and rarely knows whose question they are answering by doing so. An AI agent that writes code, that is, a software system that independently produces a program in several steps from a task description, has taken over these same rules from its training material, likewise without the question that goes with them. I consider a rule usable only together with its question, because the question shows under what conditions the rule holds and when it loses its basis.
The field's defining authors fall into a few groups according to their question. Some asked what can be computed at all, others how one can know that a program is correct, still others who the program's text is written for, how a system can be broken into parts, and in what order a team should work on it. A genuine disagreement runs between the groups, and this disagreement reveals more about the craft than any single school on its own.
Turing: what can be computed by a machine
According to Keith Oatley's history of psychology Our Minds, Our Selves, Alan Turing's 1936 paper showed that every task a human can compute can also be computed by a machine that he specified precisely; this is the Turing machine, which Oatley calls the basis of every computer. From the software perspective, the decisive point is that the machine's behaviour becomes a description: the same device performs a different task when given a different text, so the object of the work is the text 1.
Every later debate in programming rests on this foundation. If a machine executes anything that has been precisely described to it, then the source of errors is the description, and the description is made by a human. Turing's question thus gives rise to a second one, which it fell to the next generation to answer: how does the author of the description know that the text does what they think it does?
Dijkstra, Hoare, Lamport: correctness before execution
Edsger W. Dijkstra answered from the perspective of mathematics. Robert C. Martin's book Clean Architecture names structured programming the first accepted programming paradigm and links it to 1968 and Dijkstra's name: Dijkstra showed that the unrestricted jump statement, the goto, harms the program's structure and replaced it with the branching and looping structures known today 2. In Martin's summary, the paradigm imposes discipline on the direct transfer of control, thereby taking away an option from the programmer and, in doing so, doing them a favour 2.
The core of the argument is most clearly conveyed by Robert Nystrom's book Crafting Interpreters. Dijkstra's one-and-a-half-page letter, published in the journal Communications of the ACM in 1968, titled Go To Statement Considered Harmful 3, states in Nystrom's summary that the programmer writes static text while what interests them is the behaviour of the running program as it unfolds in time. Humans think more reliably about static things than about moving ones; a program is therefore the better, the more closely the course of execution mirrors the structure of the text 4. Nystrom regards the letter as a foundational text of the profession and credits Dijkstra with the fact that the fierce debate surrounding structured programming is essentially over, since most new languages no longer have unstructured jumps. He also notes two reservations: Dijkstra states his second claim without evidence, and the correspondence between text and execution is defined only sketchily by the very author who demanded greater rigour throughout his career 4. I rate this remark as more than a footnote. One of the profession's most successful rules is built on an assumption about human cognition that is not supported by measurement, yet it has proved itself in practice.
According to Michael L. Scott's textbook Programming Language Pragmatics, structured programming was the dominant paradigm of the 1970s, together with top-down design, decomposition into modules, and meaningful names. Its proponents showed that almost every well-designed algorithm within a subroutine can be expressed using sequence, selection, and iteration 5. Scott also attributes to Dijkstra the logical foundations for understanding concurrent execution 5. Tony Hoare's 1969 article, An Axiomatic Basis for Computer Programming, transferred a procedure known from geometry to programming: it specified axioms and inference rules with which the properties of a program can be proved, and also presented a formal proof of a simple theorem 6. Leslie Lamport's 1978 article, Time, Clocks, and the Ordering of Events in a Distributed System, sought the same rigour in distributed systems. He showed that there the "happened before" relation between events yields only a partial ordering, and he presented an algorithm that arranges them into a total order by synchronising logical clocks 7. All three expected the programmer to know what the machine would do before execution.
Greenblatt, Knuth, Naur: the workshop and the reader
Against this school came an objection from practice. Sherry Turkle's book Life on the Screen describes Richard Greenblatt, a recognised figure in chess programs and systems programming, as a virtuoso of tinkering-style programming: he worked like a painter who steps back from the canvas before continuing, and entered into a kind of negotiation with the program 8. According to Turkle, the dominant computer culture looked down on this way of working. One of the culture's heroes was Dijkstra, in whose view rigorous planning and mathematical analysis yield a program whose success is mathematically guaranteed, and in this model there is no place for tinkering. When Dijkstra gave a lecture at MIT in the late 1970s, he got into an argument with Greenblatt, who was sitting in the audience, and Turkle preserves this scene as a clash of two opposing aesthetics 8.
The tension has run through the middle of the craft ever since. In one view the program is a derived object that must be understood in advance; in the other it is material that one comes to know through working with it. Donald Knuth opened a third way. According to Cyrille Martraire's book Living Documentation, in literate programming the primary document is prose, which follows the programmer's human logic, while the code appears as part of this text, independent of the order required by the compiler 9. Martraire emphasises that this is a way of writing programs that compels the author to consider every decision and to spell out the thought behind it. In his assessment, the method never spread widely, yet its influence was deep, often in distorted form 9.
Knuth thus kept Dijkstra's demand for a well-thought-out program, but changed the addressee: the text is addressed primarily to another person, and the machine merely executes it. Peter Naur went even further. His 1985 paper, Programming as Theory Building 10, calls programming theory building in its very title, and according to his well-known thesis, the essence of a program is the theory living in the minds of its makers.
Parnas, Liskov, Kay: the promise between parts
The next group's question is structure: how a system can be broken down into parts on which different people work and which change separately. David Parnas's 1972 article, On the Criteria to Be Used in Decomposing Systems Into Modules, regards decomposition into modules as a tool for flexibility and comprehensibility, which also shortens development time, and makes its benefit depend on the criterion by which the boundaries are drawn. Parnas compares a conventional and an unconventional decomposition of a single design task, and finds the latter more advantageous 11. The unconventional criterion is the hidden design decision, whose fate already belongs to the story of the theories. Barbara Liskov fixed a single point in the relationship between parts, but did so with great precision. According to Steve McConnell's handbook Code Complete, Liskov's 1988 paper, counted among the foundational texts of object-oriented programming, argues that one class should be derived from another only if the derived class really is a more specific version of the base class 12. In McConnell's example, the current account, the savings account and the car loan account are all derived from a common account class, while the operation that queries the interest rate returns the interest paid by the bank for the first two and the interest paid by the customer for the third. The programmer thus has to keep in mind at every call which subtype they are working with, and inheritance increases the complexity it is supposed to reduce 12.
Dane Hillard's book Practices of the Python Pro formulates the same from the perspective of program correctness: any instance of a class can be replaced by an instance of its subclass so that the program remains error-free and yields the same fundamental result 13. Liskov and Jeannette Wing's 1994 paper, A Behavioral Notion of Subtyping, states the requirement in the language of proof: what is proven about objects of the supertype must also hold for objects of the subtype 14. I consider Liskov's principle enduring because it treats structure as a promise: the interface of the base class tells the caller what to expect, and the subtype is obliged to keep this promise.
Martin dates the discovery of the object-oriented paradigm to 1966, attributing it to the work of Ole-Johan Dahl and Kristen Nygaard 2. The name is usually associated with Alan Kay, who famously regarded independent objects exchanging messages with each other as the essence, and the hierarchy of classes as secondary. Within the group, therefore, the debate is about where structure resides: in the hidden decision, in the kept promise, or in the exchange of messages. There is agreement that a good boundary spares the person from having to keep the other side of the boundary in mind.
Brooks, Beck, Fowler: difficulty and the order of work
Fred Brooks moved the question from the program to the undertaking: why is building software slow and uncertain even when the tools improve? Neal Ford and his co-authors' book Software Architecture: The Hard Parts recalls Brooks's 1986 thesis, stated in the essay No Silver Bullet 15: no single technological or managerial innovation, on its own, promises an order-of-magnitude, that is, tenfold, improvement in productivity, reliability, and simplicity within a decade 16. From this, the authors draw a conclusion about the architect's work: since almost every task is new, the architect's job is the objective assessment of trade-offs between competing concerns, and the goal is the least bad combination 16. Brooks's thesis is a prediction, and that is exactly what makes it valuable, because it can be held to account whenever a new tool appears.
Kent Beck built a working method out of this same uncertainty. Robert C. Martin's book Clean Agile presents extreme programming (XP) as the best representative of the core of the agile mindset. Beck and Ward Cunningham developed the basic ideas in the mid-1980s, and the book summarising the method, Extreme Programming Explained: Embrace Change, was published in 2000 17. In Martin's description, small releases keep the work in bite-sized units, acceptance tests make clear what counts as done, and the whole-team principle puts the programmer, the tester, and the manager behind a shared goal 17.
Beck's answer stands in opposition to Dijkstra's, yet is akin to it. The school of proof sought knowledge prior to execution. Beck accepted that requirements emerge during the process, and replaced certainty with dense feedback: the short cycle is intended so that errors appear cheaply and early. Martin Fowler's well-known contribution to this is that the structure of working code can be improved in small steps without changing its behaviour, so design can be distributed over the entire duration of the work.
Karpathy and the program learned from examples
The most recent question is what happens if no one writes the program down. In the chapter on Turing, Oatley also recalls Geoffrey Hinton's result: learning in a network of artificial neurons proceeds through changes in the connections; the network generalises from many examples and builds an internal model. Oatley's example is Google Translate, which, in his description, works this way, without pre-written grammatical rules 1. Andrej Karpathy described this turn as a new kind of software in which behaviour is carried by the weights of the trained network, while the programmer specifies the data and the objective. The language model that writes code is a special case of this idea, because as a learned program it produces traditional program text.
Marcus Kessel and Colin Atkinson's 2024 preprint, Morescient GAI for Software Engineering, sees a weak point precisely here. According to the authors, since 2021 more than a hundred code models built on language models have been published, and the overwhelming majority of them were trained exclusively on the syntactic side of software, that is, on its text, which significantly reduces their reliability in tasks that depend on the program's meaning. Their proposal is a model that also learns from behaviour observed during execution 18. The finding comes from a position paper with no measurements of its own, so I treat it as a claim. Still, it is striking that the criticism repeats Dijkstra's distinction: the model knows the static text, but barely the running process.
The shared assumption: the human mind as the bottleneck
The answers presented rest on a common assumption: the program contains more detail than a person can reliably hold in mind. Structured control, program text written for humans, substitutability and small releases all spare human attention. Rahul Mohanani and colleagues' review, Cognitive Biases in Software Engineering: A Systematic Mapping Study, suggests that this assumption remains little developed in research. The authors identified 65 articles published between 1990 and 2016, which examine 37 cognitive biases, and found that research on methods to mitigate biases is scarce and theoretical grounding is weak 19. The profession has therefore adjusted its rules to the limits of human cognition for decades, while measuring little about the limits themselves.
The agent shifts this balance at two points. Producing program text has become cheap; understanding it requires as much attention as before, so the rules that previously protected the writer's mind now protect the reader's. Code that is broken into small units and keeps its promise matters because it has to be checked by someone who no longer wrote it themselves. The other shift concerns feedback. Rasmus Ulfsnes and colleagues' 2024 preprint, Transforming Software Development with Generative AI: Empirical Insights on Collaboration and Workflow, reports on the basis of thirteen interviews that developers turn to the generative tool for help where they previously asked a colleague, and the authors say this affects the learning loop of agile teams 20. No general law follows from thirteen interviews, yet the observation touches exactly the load-bearing element of Beck's system, because the whole-team principle is built on knowledge spreading through asking questions.
From this I conclude that the classic questions remain once the agent is there, and their addressee changes. The need to understand code before it runs becomes the reviewer's job; prose written for humans returns in the task description; and the promise between parts appears in the test that generated code must pass. A team that knows which of its rules answers which question can say whether, with the introduction of the agent, the basis of the rule has remained, moved, or ceased to exist.
Questions are more enduring than answers
The thinkers of the field are still worth reading today for their questions, which proved more precise than the answers given to them. A rule that the team or the agent applies without its question works as long as the circumstances match those under which it was born. When the code is written by a machine and the human mainly reads it, this match partly ceases, and the rule must be grounded anew. For my part, this is the practical value of the classics: they show which assumption an established habit was built on, and thereby when it is due for review. The answers have meanwhile solidified into theories and schools, which are also in dispute with one another, and the series continues with these theories and debates.
Recommended reading
- Crafting Interpreters (Robert Nystrom). Nystrom's book walks the reader through building a complete interpreter and, along the way, rereads Dijkstra's famous letter in a matter-of-fact way, reservations included.
- Life on the Screen: Identity in the Age of the Internet (Sherry Turkle). Turkle describes two working styles in computer culture, the planner's and the tinkerer's programming, and shows how one became the norm.
- Living Documentation: Continuous Knowledge Sharing by Design (Cyrille Martraire). Martraire treats documentation as knowledge that lives alongside the code, and places Knuth's literate programming as a precursor to current practice.
- Code Complete: A Practical Handbook of Software Construction (2nd edition) (Steve McConnell). McConnell's handbook systematises the daily decisions of software development, including when inheritance simplifies and when it increases complexity.
- Software Architecture: The Hard Parts (Neal Ford, Mark Richards, Pramod Sadalage, Zhamak Dehghani). Ford and his co-authors treat architecture as a series of trade-offs and provide a method for weighing and recording decisions.
Sources
- [1] Keith Oatley (2018): Our Minds, Our Selves: A Brief History of Psychology.
- [2] Robert C. Martin (2017): Clean Architecture: A Craftsman's Guide to Software Structure and Design.
- [3] Edsger W. Dijkstra (1968): Letters to the editor: go to statement considered harmful. Communications of the ACM.
- [4] Robert Nystrom (2021): Crafting Interpreters.
- [5] Michael L. Scott (1999): Programming Language Pragmatics.
- [6] C. A. R. Hoare (1969): An axiomatic basis for computer programming. Communications of the ACM.
- [7] Leslie Lamport (1978): Time, clocks, and the ordering of events in a distributed system. Communications of the ACM.
- [8] Sherry Turkle (1995): Life on the Screen: Identity in the Age of the Internet.
- [9] Cyrille Martraire (2019): Living Documentation: Continuous Knowledge Sharing by Design.
- [10] Peter Naur (1985): Programming as theory building. Microprocessing and Microprogramming.
- [11] David Lorge Parnas (1972): On the criteria to be used in decomposing systems into modules. Communications of the ACM.
- [12] Steve McConnell (2004): Code Complete: A Practical Handbook of Software Construction (2nd edition).
- [13] Dane Hillard (2019): Practices of the Python Pro.
- [14] Barbara H. Liskov, Jeannette M. Wing (1994): A behavioral notion of subtyping. ACM Transactions on Programming Languages and Systems.
- [15] Frederick P. Brooks, Jr. (1987): No Silver Bullet: Essence and Accidents of Software Engineering. Computer, 20(4).
- [16] Neal Ford, Mark Richards, Pramod Sadalage, Zhamak Dehghani (2021): Software Architecture: The Hard Parts.
- [17] Robert C. Martin (2019): Clean Agile: Back to Basics.
- [18] Marcus Kessel, Colin Atkinson (2024): Morescient GAI for Software Engineering (Extended Version). arXiv.
- [19] Rahul Mohanani, Iflaah Salman, Burak Turhan, Pilar Rodríguez, Paul Ralph (2020): Cognitive Biases in Software Engineering: A Systematic Mapping Study. IEEE Transactions on Software Engineering, 46(12), 1318–1339.
- [20] Rasmus Ulfsnes, Nils Brede Moe, Viktoria Stray, Marianne Skarpen (2024): Transforming Software Development with Generative AI: Empirical Insights on Collaboration and Workflow. arXiv.