Development in the AI Era
All articles

I Still Write the First Version

The part of programming I still enjoy is the start, where I build the first version of something by hand, and decide it’s worth pursuing. I would hand off the implementation to either contractors or junior developers at the publishing, pipeline or manufacturing companies. Now that I’m on my own, it goes to AI, and I watch and learn as it builds the application. I still come up with the ideas for what is getting built, and I get to see those ideas come to fruition far faster than I could have managed by hand. Manuel Bärenz, a Haskell programmer, recently posted a long guide (https://discourse.haskell.org/t/how-to-keep-enjoying-programming-in-a-world-of-llms/14705) on how to keep enjoying programming in a world of LLMs, and his answer is to keep writing the complete code himself. Mine runs the other way, and it has kept the work exciting for me and has reinvigorated my love of programming.

The First Version Is Mine

The data capture program I’m building started as a prototype I wrote by hand. It read from a serial port, wrote what it read to a file, and wrote the same data to a named pipe that other programs could listen to. It did those three things and nothing else. Every decision in it was mine, because there was nobody else to make them.

The next iteration is where AI comes in. In place of that one fixed path, it has a modular plug-in architecture, with each way of moving data in or out as its own module. I’m learning how to build that inside a Windows framework, and I’m learning a good part of it from watching the AI implement the functionality.

The Haskell author keeps his enjoyment by writing the code the whole way through. “Plan together, but then you code,” is his rule, and he warns that “if you want to keep owning your codebase, you need to keep writing some code.” I completely agree with the warning, and I keep a different part of the coding process than he does. I keep the first version. It’s where I find out what the program has to do, and a prototype small enough to write by hand is small enough to understand completely. Starting with the base paths for data movement showed it would work well in theory. The prototype highlighted how quickly it would become too cumbersome to support as more paths were added and that it would be best if they were separate modules.

Learning by Watching

What I enjoy most about handing the work over is watching how AI changes things. It reaches for language features I haven’t used and ways of organizing the work I wouldn’t have tried, and seeing them applied to code I wrote is a faster way to learn them than reading about them. On the plug-in system, what I’m learning is the best way to read external DLLs so the program can pull in more functionality, and how to use the config file to find the different components and make sure everything is registered properly.

In “Where Do Senior Developers Come From?” I wrote that junior developers learned by watching more experienced developers solve problems they didn’t yet understand. This is the same arrangement with the AI in the experienced chair, and it works for me for a reason that doesn’t transfer to a junior. I have decades of deciding whether a change is an improvement, so I can see when the AI’s solution is better than mine, when it is only different, and when it is wrong.

That judgment is where the learning happens. I still decide whether each change stays, and the deciding is what teaches me. If I took what came back without reading it, I would end up with a working plug-in system with nothing learned from it. It would be a system I wouldn’t be able to fully support or enhance with strong confidence. While verifying the code that AI has generated negates some of the speed gains, the amount of learning received far outweighs the loss.

Seeing It Come Together

Bärenz writes that he enjoys “just the process of expressing my thoughts in this language,” and that when he generates code, “a lot of that enjoyment is at risk.” For him the language is the point, and for me the point was always what the program does once it runs, so handing the typing to the AI costs me far less than it would cost him. He settles for being “moderately more productive” rather than “appearing to be much more productive and losing all the joy.” I got more than moderate, and I kept the joy, because I kept the part of the work I enjoy.

The ideas behind what gets built were always the part I cared about, and the AI shortens the distance between having one and seeing it run. Using AI to develop the new plug-in version cut the development and testing time by 10X in my estimate compared to my hand coding it. It was a joy to see the new version run properly so quickly. It was even more incredible when it took minutes to add new source and destination path modules to the system and they worked correctly based on the data I received on the new source and sent to the new destinations. The new source read from an OPC UA server. I added the tag information and the locations to read from to the config file, and it immediately connected and pulled the data. The destination was a SQL Server table. AI built the inserts, the stored procedures, and the methods needed to validate the data going into the table.

One of the next pieces I’m adding to the system reads over Modbus, a protocol I’ve never programmed against. I’m very naive about what it takes to communicate along that chain. With no experience in Modbus, I’ll know it works when I can trace the data from the machine, through the Modbus interface and the data capture program, into whatever destination I pick for testing, and the values there match what the machine shows on its HMI.

Modbus will be the first part of this system where I start out knowing less than the AI does, so I’ll do what I did with the serial reader and write the first version by hand. That’s where I’ll find out what I don’t know about the protocol. Then I’ll hand it to the AI and decide what stays, and the HMI on the machine gets the final word on whether either of us got it right.

First published on LinkedIn, October 22, 2026. Discuss this on LinkedIn