How to Resist
There’s been a recarpeting project at my work which has required everyone to box up the stuff in their offices while the contractors work on it. For the scientists this has been particularly onerous; one of them remarked to me the other day that we software engineers have it easy because we have so much less stuff. I said “yes, but twenty years after I retire, there will be no evidence that I ever worked at all.”
Maybe I’m in a dark mood because of all the AI discussion. I might agree with Ed Zitron that “the ‘wow, Claude Code!’ articles are mostly from captured boosters and people that do not actually build software being amazed that it can burp up its training data and make an impression of software engineering.” But I am not immune to the hype; there are other software engineers at my work who have used AI to some advantage. I have used it myself usefully in the not terribly distant past to fix Nix problems I would otherwise struggle with.
The main problem with these attempts, as far as I can tell, is a twist of that old chestnut, the Gell-Mann Amnesia effect, that I don’t generally ask the AI to do things for me I already know how to do, I ask it to do things for me I wouldn’t want to do myself or know how to do. “The first principle is that you must not fool yourself, and you are the easiest person to fool.” — Richard Feynmann. If I were better at Nix, I wouldn’t need the AI to fix a simple problem, but with AI, I can at least get solutions, and if I’m smart, I can learn why they work. In one case, I was using the wrong primitive with a name similar to the one I should have used. In another case, the package I was trying to wrap was wrongly constructed and it had to be patched.
I see some value in using these AIs to point me to resources I haven’t heard of before; I learned about PocketBase from them, for instance. Of course, in the context I was asking it to make me a simple web application to see just what all this agentic stuff is about, and I wanted to see what HTMX is like. The irony is that PocketBase tells you not to use it with HTMX because it’s the wrong tool for the job. A fact I only learned because after using the agent to write the code, I got curious and decided to learn a bit more about the tools it recommended. It also says:
If you don’t have the time to at least skim through the documentation and you plan to solely rely on some AI tool, then please do NOT use PocketBase! — https://pocketbase.io/faq/
This sort of jibes well with my general impression of AI, and people who make heavy use of it. Though AI appears to be superb at generating plausible-looking text at first blush, it is actually illiterate, and the people who make the heaviest use of it seem (no offense, or, well, maybe only some offense) also to be illiterate, or at least not particularly moved by the idea that reading is important.
This seems to me to be the continuation of the general trend established in the early days of Facebook and the rise of NoSQL that what was important wasn’t quality exactly but shipping quickly. “Move fast and break stuff” and “write slop quickly” seem reinforcing to me rather than orthogonal or contradictory. Same with the MongoDB concept of “let us return bad results quickly” being better and more important waiting for right answers or even (God forbid) not returning answers at all due to unavailability or downtime. The idea that most of the text in your life should be summarized for you by an AI, so that you can get the gist of it, only to turn around to an AI and speak your response, ask for it to be inflated, so you can send more puffed up text in response, and then perhaps plug it into your agentic LLM to generate some puffed up code as quickly as possible all sounds deeply dystopian to me. Moreover, there is an obvious continuity between the LLM attitude towards truth and correctness and societal plagues like “alternate facts.”
If all we wanted to was generate as much code as possible as quickly as possible then we would have every right to be terrified of AI. But actually we are trying to solve problems, and that will continue to require thinking. I attempted to reassure a coworker that when you analyze the amount of work he has put into coaxing an agentic system into producing a valuable output, he still had to have his engineering knowledge in order to guide it to an acceptable solution. The kind of pain this produces in us programmers is almost spiritual: if we had wanted to be managers or specification authors, we would not have become software engineers. The ones that felt like code was a burden rather than an expression might prefer this outcome, but the rest of us are getting an additional unwanted midlife crisis and writing long-ass blog articles.
If you’ll permit me, existential problems require existential solutions. The one OpenAI and Anthropic would like you to accept is the nihilistic one: if nothing means anything, please consider a $30/month subscription until enough of your team has been body-snatched and you can convince your management to pay $300/seat/month. You’re probably not working on anything important anyway, so let us help you generate trash faster than ever. If it breaks, that’s probably OK; you were already serving it on a platform you don’t control to an audience of losers you probably were somehow parasiting, blah blah advertising revenue stream. We would like this to happen as soon as possible because we cannot make money until the majority of our customers are paying at this price point, so please become sufficiently addicted that you cannot work at all without us in the very near future. We plan to burn the planet down to generate enough electricity to support all of you very soon, and we are hoping that we don’t get litigated “for real” until the thought of not having our technology is unthinkable.
As Ed Zitron likes to point out, these companies have the cash to create a tremendous amount of content to make you feel both like A) this is happening all around you, so you should get used to it and, in fact, get involved now before you are left behind forever and become unemployable, and also B) this is all inevitable, so there is no point to trying to resist this by (say) continuing to learn how to do your job and doing it at a human rate. Thus, there is no alternative course of history. Certainly not a future in which Dario Amodei and Sam Altman share a cell across from Elizabeth Holmes for committing essentially the same kind of fraud.
There are other ways of looking at this. For instance: maybe agentic AI is more like a sledgehammer that can break you through a small problem, assuming you don’t mind that it kicks up rocks you’ll have to clear away yourself. Maybe we should regard using it as particularly expensive and detrimental to the environment, to open source, to time spent by others trying to help or at least publishing their work, since it is these things. Maybe we should assume that it will only be available in its current, highly-subsidized form for a little while longer and we should ensure that we are learning from our uses of it so that when it disappears, our skills have grown rather than atrophied.
Perhaps using it to write code without reading it as fast as possible it is to unmask the lie behind some definitions of “maintainability.” If this is a fine outcome, maintainability was never really about writing code so that other programmers could continue it. It was really about ensuring your replaceability as a programmer, and now that we (supposedly) have machines that can do it, your replaceability is assured and the code doesn’t matter at all. This leads to an obvious question for me: instead of agentic AI, maybe we should consider allowing our programmers to use the powerful high-level languages a few of them know. What’s the difference between a bunch of Python code no human has or will read and a bunch of Haskell code nobody except Bob has read?
But from a higher perspective, when I look back at my career I can point to several moments where something truly wonderful was created:
- The only web framework I ever made: Voltaire (with Michael Herrick at Matterform Media), which was a fast and flexible content management kind of sort of system. It was performant and easy to work with in 2005, and it was still being used in 2018, maybe still today
- My first significant web application at NRAO which I wrote the majority of, the stupidly-named Proposal Handling Tool
- The Workspaces project
- The data fetcher and delivery applications for the Archive
In all of these cases, it was thinking about the problem deeply over time that led to new ideas about how to solve a problem. Writing good and clear code that is at least somewhat properly factored was a big part of it too, but the ideas were far more important, and that is precisely what I do not believe agentic AI can do.
- With Voltaire, the key ideas were regions and cascades: you could define a template at any level or in any region, and the path to the page (the URL) could be used to override any content in any region
- With the PHT, the idea was more prosaic: to create a single clearinghouse application to tie together a bunch of disparate scripts and algorithms to make them accessible in context rather than relying on institutional knowledge and documentation about when and how they should be run
- With Workspaces, I spent months designing the system with an actual architect, and we came up with a comprehensive plan for how to represent processing and products, and modeled it in SysML (and a touch of Haskell) before ever starting to write the actual application code
- The data fetcher and delivery applications both started not from a large pile of requirements, because we had tried that before and gotten spaghetti, but rather from a model I developed in terms of what elements of these programs I expected to change and which to stay the same, something I could only have figured out from experience with the predecessors
For a long time I have semiseriously joked that the main difference between scientists and programmers in terms of code is that to a scientist, code is basically a speed bump they have to get past in order to process their data and do their science, whereas to a programmer, code has a lot of other dimensions. Is it maintainable, clear, performant, secure, documented, intuitive, etc.? Something I learned from software architecture is that there is not one right answer for all situations. There are always tradeoffs: the most performant code is never the most flexible code, because flexibility demands late binding and genericity, whereas performance demands knowing exact types and having as few branches as possible. Therefore, you cannot escape from making decisions about your priorities. We would all like to have the fastest, most flexible code possible, but in fact, you have to decide which it is more important.
A key finding of software architecture is that if you do not prioritize quality attributes explicitly, your developers will implicitly, based on their own preferences. So, pray tell, what will happen to your code if your developers do not have preferences either, because they have been delegated to an AI agent? The truth is that no one really knows, but if I had to guess, you will probably get whatever is best-represented in the training corpus. It is perfectly possible to write code without thinking about quality attributes at all or talking about them at all. A great deal of the corpus of code on the internet is explanatory code or draft code that does not pay much heed to any of this. Let us think about what we can expect to see happen as a result of vibe engineering with this corpus as the input.
On two occasions I have been asked, ‘Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?’ I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. — Charles Babbage
To poorly paraphrase Timothy Snyder’s introduction to Václav Havel’s essay “The Power of the Powerless,” in a totalitarian regime like Czechoslovakia in 1970 or whatever you might like to call the American “system” of today, we are constantly but unconsciously made to choose apathy through what Havel calls “normalization,” which is a process that inclines things to their most predictable state of affairs. He gives a prosaic but personal example of beer brewing; the state brewery predictably made bad beer, because the average beer made by average people who do not care will of course tend to be bad. And so it is with all things; a variation of the Pareto principle that most things are average or below average, most people are average or below average, and thus, most projects are average or worse and are executed by people who are average or worse. The power of the powerless, as I understand Havel, is to know your truth and act on it. The brewer who decides to make good beer because it can be made well and others should not have to suffer bad beer, is someone who is acting in pursuit of truth. In neither an entirely public nor private way, but also not in an ideological way. In a personal way that intersects the public life.
Rejecting normalization gives us a way to think about what we might otherwise call “fighting entropy,” as well as fighting apathy. In many cases, fighting entropy is for the good in an obvious way: picking up trash, cleaning up, repairing things. But it’s not quite enough as a moral compass: there are plenty of “ordered” states that are inherently evil; oligarchy comes readily to mind for some reason. Basing it on your own search for and discovery of your own truth gives it a moral direction.
I cannot think of a better representation of “normalization” and the consequent regression to the mean than large language models and the hope that they will do all sorts of work for us. Since most content is drab and banal, let us use software to create it for us faster than ever. Now we can all drown in the drab and banal. Let us accept the inevitability of it and even invest heavily in the development of it, in the hope that it might be. A literary machine for the illiterate, it reads without reading and writes without thinking for people who wouldn’t read anyway.
Havel is telling us the way to fight this, which is not by labeling monsters and developing or accepting formal ideologies to oppose them with. It is simply to live your truth.