Sitemap
On Building Software

A collection of short essays on designing, building, and maintaining software for lone wolves and super-small teams.

Early thoughts on coding with AI

--

For a few months, I’ve been building software with AI. My early observations…

I once built software in a methodical way. Start with a small ball of clay. Slowly mush that piece around. Add two things to it. Take away one. A slow, progressive march to a thing. Understanding the shape of what I was building as it was coming into form.

With AI, the approach is more like starting with a larger, complex piece of clay already mushed — 51 to 90% the way you intended. Most of the time is spent figuring out the 10 to 49% that wasn’t.

It is thrilling to get 51 to 90% of the thing done in a sliver of the time it would take it to do it the old way. The climb is to get good at understanding the 10 to 49% that needs a rethink.

At first, I found myself asking for huge chunks because why not? Later I find myself asking AI for smaller chunks because the reason why is that figuring out the wrong parts is far easier to do on smaller chunks.

And that is what most of coding with AI has been for me early on—figuring out what I don’t like about what was produced. Being a step ahead of my copilot who is so sharp at so many things yet still ignorant about others.

Getting better at the asking.

Getting better at the fixing.

Getting better at the cadence of asking and fixing.

Coding with AI feels is like a picture of a man walking a dog. To a sentient being who has never seen man or dog, it may seem that the dog is leading his owner but the owner is, we hope, in control.

At the same time, I’ve also begun to question the traditional best practices of programming. Many principles are principles because they help the human maintain the codebase better. Even without AI, what qualified for better was always a contentious debate.

And as AI tools get better, maybe some of those principles we hold dearly will begin to dwindle in importance—particularly when AI gets better and reduces that 10 to 49% part down to 1–2%, and eventually down to 0 to 0.0001%.

On Building Software
On Building Software

Published in On Building Software

A collection of short essays on designing, building, and maintaining software for lone wolves and super-small teams.

Ka Wai Cheung
Ka Wai Cheung

Written by Ka Wai Cheung

I write about software, design, fatherhood, & nostalgia usually. Solo software creator: . Formerly: . More at .

No responses yet