AI coding agents can write a good function and still design a bad system. That’s the finding of the developer behind the Cobra command-line library, who spent a year pushing frontier models as far as they would go. Their conclusion is that cheap code makes deep engineering skill more valuable, even as the industry stops producing people who have it.
They call it the craftsman’s paradox.
Seven days instead of two
Some months ago the developer let an agent build a mid-sized program from start to finish, gave it only broad direction, and chose not to read the code while it worked. The result was unusable. The same problem had been solved three separate ways in different parts of the repository, and the foundation was too tangled to rescue.
Their time log tells the story. Doing it by hand would have taken two days. With the agent: two days of generation, three days debating architecture with the model, and two more days directing it to fix individual functions, seven in total. Syntax was never the problem.
Oversight is the weak point. An agent will keep producing plausible code in whatever direction it’s pointed. Someone has to notice that one idea now exists in three versions, and that person needs enough experience to spot the problem on sight rather than after a week of cleanup.
Repeating the test with newer models, including Opus 5.5, Neon and Sol, produced the same pattern. Without firm guidance and correction, the developer says, the output is slop.
What good design looks like
Two examples carry the argument. Go’s standard library has aged well thanks to io.Reader and io.Writer, single-method interfaces that do what other languages need deep class hierarchies for. Each feature request the Go team turned down kept million-line codebases readable years later.
The developer saw the same dynamic with Cobra. A flag parser is easy for any LLM. What led Kubernetes, the GitHub CLI and Hugo to adopt Cobra was how the interface was shaped: commands form a tree mirroring how users think about a tool, business logic sits apart from command wiring, local flags stay with the command that owns them, and persistent flags are saved for global options. Choices like these take years of watching decisions play out.
Where juniors fit in
First-pass bug fixes and small functions used to be junior work. Models now do that work quickly, and in the developer’s experience faster than most people they’ve hired at that level. Companies have mostly stopped hiring entry-level engineers, and a manager reading a budget can’t be blamed for it.
Yet the junior role was never about the function. It was an apprenticeship. Senior engineers earned their judgment by getting burned, whether by shipping the wrong abstraction and living with it for two years or by being paged when a race condition reached production.
Cut that path and, in about a decade, companies will still need people who can design entire systems with nobody trained to do it. The developer doesn’t expect models to fill the gap without major architectural breakthroughs.
The pattern in other crafts
Software is simply the craft this developer knows best. Painters learn to see by filling sketchbooks with weak drawings, and musicians practice scales. Writers learn from drafts they discard, and designers start with awful mock-ups. Handing that early work to AI looks free because a beginner’s output is easy to match, and no budget line records the senior engineers who never got trained.
What happens next
The remedy is uncomfortable: keep hiring juniors and let them do the work badly at first, even though a machine would finish it sooner. That costs money now for a payoff years away.
For engineering managers the decision is whether entry-level roles are a training expense or a task to automate. The industry will learn the answer in about ten years, when it finds out how many people can still design a system. By then, the cost of skipping the apprenticeship will be hard to reverse, because experience can’t be generated on demand the way code can.
Source: spf13