Jul 25, 2026 · 2:56 PM
Subscribe
Home Ai

Uncle Bob Martin says he no longer reads AI-generated code and the developer world is split

Robert C. Martin, author of Clean Code, says he no longer reads code produced by AI agents, replacing review with mutation testing, cyclomatic complexity checks, and dependency analysis. The stance has put him directly at odds with Grady Booch, who argues that metrics can't catch the vulnerabilities and dead code that experienced engineers recognize on sight.

Dave Barr
· 5 min read · 562 reads
Uncle Bob Martin says he no longer reads AI-generated code and the developer world is split

Robert C. Martin, who wrote the book on software craftsmanship, has abandoned line-by-line code review entirely for AI-generated output, replacing it with a metrics and constraints framework that has ignited a sharp debate among engineers.

The man who spent decades telling developers to take their code seriously now says he doesn't read it. In a series of posts on X, Robert C. Martin, universally known in engineering circles as Uncle Bob, announced that his current strategy is to not read any of the code written by his agents. His reasoning is blunt: "Humans are slow at code. To get productivity we humans need to disengage from code and manage from a higher level." For a figure whose 2008 book Clean Code became one of the most assigned texts in software engineering programs worldwide, this is not a minor opinion update. It's a reversal of the foundational premise of the entire clean code movement.

What he's doing instead is worth understanding carefully, because it isn't a shrug. Martin surrounds his agents with what he calls extreme constraints: unit tests, Gherkin acceptance tests, QA procedures, cyclomatic complexity thresholds, module size limits, dependency structure analysis, mutation testing, and test coverage requirements. The logic is that if generated code passes all of those gates, confidence in its correctness is high, regardless of whether any human ever read a single function body. "In the end, I have very high confidence in the code they produce because they've had to run the gauntlet of all these constraints and tests," he wrote. That's not nothing. Mutation testing alone, which systematically mutates source code to check whether tests actually catch defects, is more rigorous than most human-led review processes at typical engineering teams.

Not everyone who helped build the software engineering canon agrees. Grady Booch, one of the co-creators of UML and a figure whose credibility in this space is roughly equivalent to Martin's, pushed back directly. Booch said he reviews all code generated by agents, and his objection is specific: test coverage and complexity metrics give him confidence about functionality, but tell him nothing about whether an agent introduced a vulnerability, added dead code that will silently degrade future maintainability, or missed a factorization that would matter for performance. "Trust but verify," Booch wrote. "As an experienced developer, I know the smell of what is good and what is not. And no agent has either the experience or the context to know those things."

That's the honest core of the disagreement, and it's not really about code review as a ceremony. It's about whether automated metrics can substitute for the pattern recognition that experienced engineers develop over careers. Martin's position is essentially that they can, at least well enough to justify the productivity gains. Booch's is that they can't, and that the failure modes you can't catch with metrics are exactly the ones that cost you the most later.

Both positions have real weight. Security vulnerabilities, in particular, are notoriously difficult to detect through structural metrics. A function can have low cyclomatic complexity, full test coverage, and clean dependency structure while still introducing an injection path or leaking a credential. Mutation testing helps, but only catches what the test suite was designed to probe. What it doesn't catch is the thing no one thought to test for, which is often where the actual breach lives.

Whether metrics can replace experience

Martin himself has been candid about how much his thinking has shifted. In another post, he acknowledged that two years ago he didn't believe AI would become as capable and potent as it has. That's an honest admission from someone who has been coding since the late 1960s and has watched several waves of tool-driven transformation wash through the industry. His current stance isn't naive enthusiasm. It's a considered bet that the constraint architecture he's built around his agents is sufficient to catch what matters.

The harder question for your engineering team is which of these two frameworks actually scales. Martin's approach requires significant upfront investment: building a test suite rigorous enough to serve as the sole quality gate demands discipline that most teams don't have and can't easily acquire. If you're already running high-coverage, mutation-tested suites before AI agents arrived, you can probably pull this off. For everyone else, skipping line-level review without that foundation in place is just deferring the liability.

Frankly, the debate also reveals something uncomfortable about how "code review" has functioned in practice. At many organizations, it was never the rigorous quality gate it was supposed to be. Reviewers approved pull requests they didn't fully read. Familiarity with a codebase substituted for careful analysis. If AI-generated output forces teams to actually instrument their quality processes with mutation testing and real coverage requirements, the net effect might be more discipline than less, not fewer safeguards but better ones. That's the version of Martin's argument worth taking seriously, even if you're not ready to stop reading the code.

What's clear is that the volume of AI-generated code in production is growing fast enough that the question isn't hypothetical anymore. Where you land will probably sit somewhere between Martin and Booch: reading selectively, measuring rigorously, and accepting that the old review ritual, one human checking another human's work line by line, was always a partial solution dressed up as a complete one.

Also read: Phantom Wallet handed Monad something no amount of technology can buySamsung and Broadcom's $200 billion chip pact is a direct challenge to TSMC's grip on AI manufacturingEtched raises $300M at a $10.3B valuation on a bet that transformer-only chips will displace Nvidia at the inference layer

TOPICS
Dave Barr is a professional Marketing Strategist With Over 6 Years Of Experience in PR. His primary area of expertise is public relations and social branding. Dave has been associated with various content projects from across the world on a regular basis. He has also had associations with big and reputed news networks. Dave contributes to Startup Fortune in the Business, Marketing and Technology sections.
Related Articles
More posts →
Loading next article…
You're all caught up