I listen to fewer podcasts these days. It took me a while to connect that with how much of my code I now write with AI.
There used to be a point in a piece of work when I could put something on. Sometimes I’d spent the morning figuring out how a problem fit together. A bigger job might take several fairly intense days of thinking, but it usually gave me a longer stretch of quiet coding afterwards, too. Once I could see my way through, I could put on an album or follow a conversation in my headphones while my hands got on with the work.
I liked leaving a few details to figure out along the way. I knew roughly where a piece belonged and could decide exactly how it would fit when I got there. I could take a while over those details, but I took a quiet satisfaction in how rarely I had to go back and fix what I’d written. Occasionally I’d get there and discover a fairly substantial hole in my lovely plan. Off went the music. But for long stretches the work was easy. Sometimes I got completely absorbed in it. Sometimes, to be honest, it was a bit boring.
I remember being less tired.
These days an AI agent can turn a design we’ve worked through together into a day’s worth of code in a few minutes. I like that part. Then I have to read it. There are a dozen decisions in front of me that I’d once have made one at a time. Why does this bit look so complicated? What happened to the case we discussed earlier? By the time I’ve answered those questions, I usually have another one. These days a podcast would make it harder to concentrate.
Writing code by hand felt a little like tending a garden with hand tools. I knew why a particular stone was there because I remembered putting it there. Working with AI feels more like having an excavator in the garden. From the cab I can see where the whole path ought to go, and I can make an afternoon’s progress in minutes. What I find surprisingly difficult is climbing down to see how close I came to the flowers. My feet are on the ground and I’m still thinking at the speed of the machine.
On my own projects, I sometimes stay in the cab. If something goes wrong with a tool only I use, I can fix it and put out a new version. Often that’s how I get to build something I’d otherwise never find time for.
One of those things was a tool for searching the documentation of systems I work with. I wanted to describe something in my own words and find the right page, even if I didn’t know what the manual called it. My first version used semantic search for that. The results were patchy, so when the agent suggested adding keyword search, I was happy to try it.
After a while, I started missing pages I remembered finding before. I’d point to one and say, “I’d expect this question to find that.” The agent would make it work. Then I’d bring it another example. When I finally looked closely at the code, I realised the agent had dropped semantic search along the way. In its place was a growing collection of rules for which words to look for in which circumstances. I’d wanted to search without knowing the terminology, and here I was, teaching it the terminology one disappointing search at a time.
We put semantic search back alongside keyword search. Now I could look up a term when I knew it and describe what I meant when I didn’t. Adding keyword search had been a good idea. I just wish I’d checked a little sooner what had become of the adding part.
I can see my part in this. As the project grew, there was more to read and less time I wanted to give it. I kept asking for one particular case to work, and the agent kept adding a little exception to make it work. I’m usually the one who eventually asks whether we could arrange the whole thing more simply. On an experiment, I’ll sometimes start over. By then I know what I want.
Even with production code, when I see a long list of tests the agent has written and every one of them passes, I’m tempted to skip the review. Well, it’s probably fine. I still go through the code, and so far I’ve been glad I did. I start with the tests. Which cases did the agent think to try? Which ones did it miss? Sometimes the code and the tests agree perfectly on a slightly different version of what I asked for. I’d much rather catch that now than a few changes down the line. I write those lessons into the instructions my agent follows during code review, and these days I find myself making fewer of the same comments.
A flight rebooking failed recently. That happens. Sometimes the offer has expired by the time we try to book it. Sometimes we ask for one thing and get something different back. The agent got further than that on its first pass. It compared two requests, spotted an option missing from the booking request, and suggested putting it back. That sounded reasonable. Except I remembered another part of our system that could book the same kind of offer perfectly happily without it. How was that one managing?
We followed the booking through. Our system had selected one offer and sent our booking provider the details for a different one. On my own, I’ve spent whole afternoons struggling to work out how something like that could happen.
It’s a bit like finding your rabbit on the wrong side of the fence. The gate’s still latched. You’ve walked the fence twice. Then you nudge the bottom of the wire in one corner and see how far it lifts. Oh. So that’s how you got out. After an afternoon like that, “I figured it out” is a lovely thing to be able to say.
I’ve always felt I was particularly good at keeping the whole system in mind while following one awkward detail as far as it went. Give me something that worked a hundred times and failed once, and I’d happily spend a couple of days getting to know that one failure. I watch the agent patiently tracing one of those cases now, and sometimes it does it better than I could. Of all the things I expected to admire in a machine, that one feels oddly personal.
I often hear colleagues say, “AI did this bit.” I sometimes hear a little distance in that phrase, as if the agent made the decision and the person telling me about it took its word for it. I wonder if that’s how I sound to them when I mention using an agent. It feels odd to say “AI did it” about my own work. In the rebooking case, the agent spotted the missing option. I knew another part of the system worked without it, and I wanted to understand why. “We figured it out” feels fair. Every so often, though, I miss the “I.”
When I put a change up for review, I’m the one saying I’m happy with it. If a colleague asks why it works that way, I owe them an answer. “The agent said it was fine” would leave me with exactly the same question.
Years ago, when we talked about hiring more junior developers, I remember thinking how nice it would be to hand over an afternoon’s worth of straightforward coding. These days I can. It hadn’t occurred to me that I might miss it.
I still like having an excavator in the garden. I think I underestimated those quiet stretches, though. I used to count them as the time it took to turn a decision into working code. Somewhere in those hours I also got to know what I’d built. I knew where the stones were. And on a good afternoon, I got to hear the whole album.
Top comments (0)