:: BLOG

AI writes a lot of code. Does anyone understand it?

Giuseppe Tufo · · 6 min read

In November a developer's post went viral: a year earlier, their company had made programming with AI mandatory. The result, as reported by Benzinga: the codebase has tripled in size, there is duplicate code everywhere and nobody understands how much of the software works anymore. Meanwhile, the two experienced people who reviewed changes and asked the awkward questions have left.

It's easy to blame AI. I think the problem is something else, and it isn't even new.

Code that only its author understands

In the Hacker News discussion, several comments point out that, to be honest, nobody understood the codebase before AI either. And that's true: for years, code was really understood only by the person who wrote it.

You could see it clearly at handover. When a project changed hands, its author had to spend hours explaining it to someone else. If that person could no longer be reached, only one option was left: work out how it functioned by reading the code, a real reverse engineering job.

More than once we have taken over software already in production without the team that built it. Before touching a single line, we had to analyse the code and document its architecture: understand why it was built that way, not just how.

What AI changes: volume

So the problem isn't new. What changes is the volume. An AI agent produces in a day what a person writes in weeks. Code that nobody understands piles up much faster, and there isn't even an author to ask.

Code gets out of control for recurring reasons:

The numbers: the bottleneck has moved

Faros AI's 2026 report analysed two years of data from 22,000 developers across more than 4,000 teams. With heavy AI use:

Faros sells analytics tools for engineering teams, so the numbers deserve some caution. The direction, though, is clear: writing code is now cheap; understanding it is not. Time is no longer spent on writing, but on understanding what is going on and making sure it is done well.

Understanding code doesn't mean reading every line

A clarification is needed here, because in the previous article I wrote that we don't reread the code. The two things fit together.

Understanding code doesn't mean reading every line. It means knowing what it's for: the architecture, the boundaries between its parts, the reasons behind the design decisions. The individual line of implementation isn't interesting; the decision behind it is.

How we stay in charge

In our work AI is present at every stage, but it is never out of control. The process rests on three things: documentation that is always up to date, regular code maintenance, and specifications checked by a person, who makes sure they are consistent with the architecture and design that were decided. We do use agent reviews, but adversarially: if one model wrote the code, a second model writes the tests and a third does the review. The reason is the one I described in the previous article: some studies suggest that models from the same family tend to share the same blind spots. None of them approves anything: the outcome is always a report, and the decision stays with us.

Report-based review only works under one condition, though: whoever reads the report must have guided how the code was built. If they decided the architecture and wrote the specifications, the report is enough to tell whether the work is done well. If they can't decide from the report, the problem isn't the review: it's upstream, in how they guided the AI.

If you commission software

A very low price is nothing new. In the past it often meant someone using tools and frameworks without knowing what was behind them. The real cost came later, when an experienced developer had to rework the code: it often took more effort than starting from scratch.

Today the same price can mean the same thing: using AI without understanding it and without knowing how to guide it. The problem is identical, with one difference: there is much more code to fix. Putting it right will take longer, and so it will cost more.

Three questions to ask whoever develops your software:

In short

AI is an accelerator, not an autopilot. It's a tool, and like any tool it has to be used well: it speeds up those who know where they're going, and takes those who don't off the road faster.


Do you have software written with AI that nobody can manage anymore, or do you want one that stays understandable over time? Tell us about your project: we'll get back to you within 24 hours.

The figures cited come from industry reports and should be read as indications, not definitive proof.

OTHER SERVICES

LET'S TALK

Tell us about your project

> Initializing connection...

Have a software project in mind? Tell us about it: we'll get back to you within 24 hours with a first assessment.

EMAIL:

info@micropp.net

Protected by reCAPTCHA - Privacy - Terms