It’s the abstraction, stupid
Many years ago, a learner in one of my web development boot camps asked me, “What is the best programming language?”
“The next one”, I replied.
He looked amused. Or maybe bemused.
I get it. He wanted to know what language to learn. Ruby? PHP? Something heavy such as Java?
I did eventually give him some suggestions — it depended on context — but I was trying to make an important point. And I drove it home with my next comment:
“Programming”, I said, “is still in the Stone Age.”
Now the entire class was alert. What? How could that be? We’ve got smartphones and everything! Note: this was well before “AI”.
“What I want”, I continued, “is a computer that reads my mind and just builds it. I have an idea, and presto! There it is, reified!”
They laughed. But I wasn’t joking. What matters in programming is not the code! I know this hurts the feelings of a lot of devs and programmers, but I cannot lie.
Thinking the code matters is like thinking the only way to build a house is with an ax. No doubt that would be great fun, and I see videos of people who do it, but it’s not the best way to build a home.
The technology is merely a tool. What is important is what we create with it.
And why, as I discuss elsewhere.
I love writing code. Or rather I did. And I wrote beautiful, elegant code. No, really. I probably spent too much time on making it elegant.
But now I haven’t written a line of code in eighteen months. Or read one. And I doubt that I ever will again.
Here is a simple way to see it:
I wrote my first program in 1977 at Cornell University. It was written in PL-C. On punch cards. And ran on a time-sharing basis on an IBM mainframe.
Even at 3 AM — debugging was even worse on punch cards — I often had to wait half an hour to see the results of a run.
And heaven help you if you dropped your punch cards. A simple program might be a stack several centimeters high.
In the Eighties, I played around with Commodore 64 computers, Atari, and the venerable “Trash 80” from Radio Shaft, er, Shack. Mostly in BASIC.
By the time I had decided to become a web designer (think developer) — before that became a thing and everyone was doing it — I was working with ColdFusion and Access databases (CFML and CFScript) which quickly moved on to PHP, then Ruby and Rails and PostgreSQL.
By 2007, I had discovered Scala, the Lift framework, and functional programming. I learned a lot from David Pollak and Greg Meredith.
Then a very close friend, Mikeal Rogers, clued me in to Node.js. But he made me wait a year before I started using it.
A very difficult year. I was impatient. Asynchronous was clearly the way to go.
Somewhere in there I learned C, C++, Java, and C#, although they were overkill for web development. I even taught C at UW.
But the point is that I started pretty low on the abstraction ladder. I have even written programs for Turing machines. On tape! Oh, the agony!
When AIs first arrived on the scene, my initial reaction was horror. I saw what would happen clearly: massive deskilling.
After all, in high school, I had learned to use a slide rule. Then we got a very expensive calculator — you needed approval to touch it. It could not only add and subtract, but also multiply and divide. Who had ever heard of such a thing?
Pretty soon they were giving away calculators when you opened a new bank account. (I never trusted those.) And almost immediately, most people could no longer do math in their heads. They don’t even remember their times tables.
Autocorrect arrived and now no one could spel anyfing rite. Ack!
But then I began using LLMs (they are not really “AI”) and a surprising thing happened. I realized that AI had not deskilled me so much as freed me. The boring clerical work of writing the code was no longer my concern.
I could focus on the part that drew me to programming in the first place: creation.
The truth is that I have written the same code hundreds if not thousands of times. The same code! Oh, slightly differently. Maybe I moved to a different language, or a different framework. But it’s the same code!
I shudder to think of how much more I could have created had I not wasted probably 90% of my time on redundant work.
Who wants to be a chef if you have to do your own prep work? That’s what prep chefs are for! And the sous chef does the cooking. I want to be the executive chef — the one who comes up with the dishes.
Of course the whole point is this: I want to be the diner. There is method to my madness!
When I began my work on Paperhat, it was still called Sitebender. It was a website/app generator written in JavaScript and it worked beautifully. An entire web app from a simple config that you could store in a database and query. And I began to use Sonnet 3 to convert it to TypeScript.
And it was horrible. I could get it most of the way, but I was insisting on a pure FP approach and, as you might have noticed, I have very different ideas about how things should be coded. The agent kept falling back on what it saw online and ignoring my instructions.
It broke things as fast as it fixed them. And the code had bloated to 500,000 lines. I could not keep up. And every time I looked at the code, I just got angrier. Sigh.
But working with the AI also caused me to rethink a lot of my assumptions. I began to work on the architecture more and more.
Not that I hadn’t been working on it all along. I was a full-stack web developer back when that meant something, and often I was the entire tech department, so I did plenty of architecting right up to enterprise work.
And as I refined my ideas about what Sitebender could be, I realized that I was being foolish. If the thing takes a config and generates a complete website from it, why the hell does it need to be done in TypeScript at all? It could as easily be a desktop app.
I threw away all that code. No sunk cost fallacy for me! And I told the LLM, now probably Opus 4 or 4.5, let’s build this as a desktop app in Rust.
Major benefits ensued.
First, Rust is new enough and opinionated enough that, unlike TS/JS, there isn’t a lot of crappy code out there. So I felt safer letting the AI handle the code. Instead, I focused on the design and the architecture.
Setting boundaries. Establishing rules. Explaining the theory and practice.
But also, I do not know Rust. Never had the time. So I wouldn’t know good Rust from bad Rust. I had to trust the model.
Of course, I’d already probably lost a few years of life — months anyway — struggling with recalcitrant AI models, so I don’t trust the model. Ha, ha. Not homie.
But what I realized was that I could use a different model to check up on the first.
OK, I was probably late to the game there, but I started telling the second model, “I don’t trust this code that model T wrote. You’re a much smarter model A. Find everywhere it did something wrong and tell me.”
OK, not exactly like that, but you get the idea. Of course, I had to be careful, because the second agent might lie to me as well. Trying to please me.
But as the models improved dramatically, and as I refined my technique and my prompts and began to understand context, things went better and better.
Now I am generating code in six languages, none of which I know how to write: Haskell, OCaml, F#, Lean, Elixir, and, yes, Rust.
Here’s an example. I have a demo invoice app generated in three different languages: Haskell, Rust, and Lean. Yes, Lean! I feed each the same data: customer, line items, discount, and tax rate. And each prints out an invoice.
And all three invoices are identical down to the last byte.
And I didn’t write (or read) a single line of that code. It is all generated automatically from a single specification.
My Sitebender project dissolved and moved into my old education company, Paperhat, which had been on hiatus.
And I took the latest — last? — step up the abstraction ladder. Now I architect, I create. I come up with the ideas, and the LLMs make them work for me.
I hope to debut Paperhat next year. It does a thousand times more than Sitebender ever did. And it solves some very difficult problems — including how to manage your AIs. And all of it is just me.
And a few models that are now about as easy to work with as my cats.
So you see, it’s not about the deskilling after all, or rather it is not a blanket deskilling. It’s more a re-skilling.
And there are still the issues of energy use, unemployment, and how we are going to train the “junior” devs now that the grunt work is gone.
But I have some ideas on those as well, and Paperhat is spinning off a soon-to-be-non-profit arm, the Paperhat Institute, to address the training and employment issues.
Exciting times! And I am enjoying my work more than ever. I don’t miss the programming at all. And I thought I’d never see that day.
Read next: I still don’t read the code