Tell us about your project

A conveyor belt is feeding merge requests onto an unstable stack, while a single request—set aside and highlighted—is being reviewed.
A conveyor belt is feeding merge requests onto an unstable stack, while a single request—set aside and highlighted—is being reviewed.
Image of François
François
3 min lecture 04 December, 2026

The tokens are free. Verification is not.

“Tokens are practically free. So who cares about quality, principles, testability…? Worst-case scenario, we’ll just ask Claude to fix it or rewrite the whole thing.”

I hear this phrase more and more often from developers, give or take a few words.

They aren’t lazy people. They’re good developers who are making an economic calculation—and that calculation deserves a real answer.

 

They’re right about one thing

Let’s start with what’s true. Generating code costs almost nothing these days. What used to take days of typing can now be done in a few minutes.

I even looked for data to prove that clean code saves tokens. The best figure I found is disappointing. In a controlled study by SonarSource, 660 tests with Claude Code compared repositories that behaved identically but differed in code quality. The agent succeeded just as often with messy code as with clean code. Clean code cost it only 7 to 8% fewer tokens.

And Sonar sells code quality tools: it’s not a neutral observer.

If the argument for quality is “it saves tokens” on an isolated task, developers who think this way win the debate.

Except that tokens have never been the real cost. When code becomes free, the cost doesn’t disappear—it shifts to what comes next.

Writing code has become free. Knowing whether it’s correct is not.

 

Where the Cost Went

In the review. Faros surveyed more than 10,000 developers. Teams that heavily adopt AI merge 98% more PRs, but review time increases by 91% and the average PR size by 154%. Someone has to read all that code. (Faros sells engineering analytics; keep that in mind.)

On stability. The DORA 2025 report, with nearly 5,000 respondents, finds that AI adoption increases delivery velocity. It also finds that delivery instability continues to rise. We’re delivering more—and breaking more.

On understanding. Anthropic conducted a randomized trial among developers learning a new library. Those who had access to AI scored 50% on the comprehension test, compared to 67% for those who coded by hand. The largest gap was in debugging—the very skill needed to verify what the AI produces.

Three measures, one conclusion: coding is no longer the bottleneck.

 

“Worst-case scenario, we’ll rewrite it”

That’s the part of the sentence that worries me the most. It confuses two things: the speed at which we can regenerate text, and the actual cost of change in a living system.

The promise that we’ll be able to “rewrite everything” for free overlooks the fact that while the code is disposable, the production state and the contracts between systems are not.

And even from a purely technical standpoint, how can we know if the generated version (or its rewrite) does what we think it does?

I saw this firsthand with an AI agent. I’d asked it to handle a standard integration: the API receives a request, saves it to the database, then calls an external service to send an email. It generated the code and the tests. Everything passed; everything was green.

Except that the most important part was missing. If the call to the email service fails after the data is saved, the data is stored, the email is never sent, and no one knows it. However, the business requirement demanded a delivery guarantee. An “outbox” pattern was needed : save the message in the same transaction as the data, then let a separate process send it and retry until successful.

No test could flag this: the tests verified what the developer had understood, not what the system actually needed. By generating both the code and its proof, the developer had automated their own confirmation bias. To spot the flaw, one had to know about this failure mode before reading the code.

A rewrite is only cost-effective under two conditions:

  • The specification is independent of the implementation: the behavior is locked in by tests that we trust, which reflect the requirement and not the agent’s interpretation of it.
  • The design isolates the scope of impact: clear boundaries allow a component to be replaced without corrupting data or affecting the rest of the system.

Testability and design are not a luxury from the pre-AI era: they are what make open-source code usable.

 

Delivering more does not mean validating more

From a product perspective, writing and deploying code has never been the goal. It’s the means to validate a business hypothesis: “this solution meets this need.” Until the change is in front of a user, we know nothing. Open-source code doesn’t change this rule: it merely allows us to stack unverified hypotheses faster. When a release contains twenty changes and the result is disappointing, which one was wrong?

The chain doesn’t stop at the team. Every large batch becomes someone else’s backlog: first the reviewer, then those who support production. At the end of the line is the customer. They haven’t sped up. They still have to accept every change, test it, train their staff, and sometimes modify a business process. A team that delivers three times as much doesn’t bring them three times as much value—it just shifts the backlog to them.

AI amplifies what’s already there—both our good habits and our blind spots. The more it speeds up writing, the more the small batch becomes the only way to keep verification affordable—for both the team and the client.

 

So, who cares?

The person who’ll have to review the PR. The person on call when things break in production. The client waiting for a fix in a system we no longer understand well enough to touch.

Tokens are free. Trust in what they produce is not.

Accelerate your AI adoption

Nexapp elevates your engineering practices with AI-assisted development, turning it into a real performance driver across your organization.

bg_shape bg_shape