TubeSum ← Transcribe a video

Uncle Bob Stopped Reading AI-Generated Code

0h 08m video Published Jul 25, 2026 Transcribed Jul 31, 2026 M Milan Jovanović
Intermediate 8 min read For: Software developers and engineers exploring AI-assisted coding and seeking to adapt their workflows to AI agents.
AI Trust Score 75/100
⚠️ Average / Some Fluff

"Delivers on the viral claim with a balanced, practical breakdown of how to validate AI code without reading it."

AI Summary

This video unpacks Uncle Bob's viral tweet about not reading AI-generated code, exploring why the claim is controversial and what it means for software engineering. The host breaks down a risk-based framework for deciding when to review code, explains how to validate AI output without reading it, and shares his outlook on the future of developers.

[00:01]
Viral tweet from Uncle Bob

Robert C. Martin (Uncle Bob) went viral by claiming he no longer reads code written by his AI agents, sparking debate about the future of code review and AI-assisted development.

[00:15]
Uncle Bob's strategy

Uncle Bob says he started coding in the late '60s and his current strategy is to not read any agent-written code. Instead, he surrounds agents with extreme constraints: unit tests, Gherkin tests, QA procedures, quality metrics, mutation testing, and test coverage.

[01:34]
Core premise is controversial

The core premise is that developers should not read AI-generated code. The controversy stems largely from who said it, but the real question is whether the idea makes sense in the first place.

[02:03]
Risk spectrum for reading code

YouTuber Fio ranks code on a spectrum from a single-user web app to life-critical systems. The amount of code you should read depends on where your project falls: read everything for high-risk systems, skip most for low-risk ones.

[02:59]
Host's own risk context

The host runs Catabenche, a SaaS learning platform for .NET developers. Though mission-critical in parts, it has many users but nobody dies if AI-generated code is imperfect, placing it in the medium-to-low risk zone.

[03:27]
The 'AI slop' argument doesn't hold

The claim that all AI-generated code is slop is weakened by the fact that modern AI models are trained on human code. If AI output is slop, then human code is equally slop; more reasonably, some AI code is slop just like some human code is.

[04:09]
Verification replaces reading

Instead of reading code, you can validate it with manual QA, unit/integration/architecture tests, mutation testing, code coverage, custom debuggers, harnesses, and skills that instruct agents to verify their own output.

[05:54]
Use AI to validate AI

You can generate additional code that verifies your application code — more tests, QA scripts, and validation tools. This mirrors traditional software engineering, except humans used to generate the code being validated.

[06:47]
Code is just an artifact

Engineers often center their identity on writing code, but business value comes from functionality. If AI generates the code, the engineer's value shifts to verifying it and ensuring it delivers the intended function.

[07:52]
Future is bright for engineers

Even if agents generate most code, the host believes the future is bright for software engineers — especially those who focus on the engineering side: architecture, constraints, and quality gates.

The video argues that reading AI-generated code is not inherently necessary when you have robust verification systems in place. As AI agents take on more coding, engineers should pivot from writing every line to designing the constraints and quality gates that ensure correctness.

Mentioned in this Video

Study Flashcards (6)

What is Uncle Bob's current strategy for AI-generated code?

easy Click to reveal answer

He doesn't read any of the code written by his agents; instead he surrounds the agents with extreme constraints, unit tests, Gherkin tests, QA procedures, quality metrics, mutation testing, and test coverage.

00:55

According to Fio's risk spectrum, when should you read all of your code?

medium Click to reveal answer

When your code is at the high-risk end, such as systems where people die if the code is incorrect.

02:18

Why does the host reject the idea that all AI-generated code is slop?

medium Click to reveal answer

Because AI models were trained on human code. If AI code is slop, then all human code is also slop; realistically, some AI code is slop just like some human code is.

03:27

Name three ways to validate AI-generated code without reading it.

easy Click to reveal answer

Manual QA, unit tests, integration tests, architecture tests, mutation testing, code coverage, custom debuggers, harnesses, and verification skills (any three).

04:09

What is Catabenche?

easy Click to reveal answer

A SaaS learning platform for .NET developers created by the video's host.

02:59

What does the host predict for the future of software engineers if agents generate most code?

medium Click to reveal answer

The future is very bright, especially for engineers who focus on the engineering side rather than just writing code.

07:52

💡 Key Takeaways

💬

Uncle Bob's radical approach

A prominent figure in software engineering openly states he doesn't read AI-generated code, relying entirely on constraints and tests — a stark shift from traditional code review.

00:55
⚖️

Risk-based code reading

Introduces a practical framework for deciding how much code to review based on the cost of failure, rather than a one-size-fits-all rule.

02:03
💡

The AI slop paradox

Smart logical rebuttal: if AI output is slop because it's trained on human code, then human code must also be slop — forcing a more nuanced view.

03:27
🔧

Verification stack for AI code

A comprehensive list of techniques to validate AI code without reading it, forming a practical toolkit for developers adopting AI agents.

04:09
💡

Code is an artifact, value is functionality

Reminds engineers that their identity shouldn't be tied to handwriting code, but to delivering value — a key mindset shift in the AI era.

06:47

[00:01] very hot topic in the tech space and that is a viral tweet from Uncle Bob, the writer of Clean Code and Clean Architecture, where he claims that he is no longer reading his AI-generated code. Now, I want to unpack what's behind

[00:15] this, where this makes sense, and I also want to share my approach to using agents and making sure that the code I produce works and also doing this efficiently. Here's the viral tweet from Uncle Bob, now racking up close to 3

[00:30] million views, and I'm going to first just read through it. So, he says, "I'm significantly older than you." And this is actually a reply to the above use Cloud Code to help me write something, but I just don't feel

[00:42] comfortable letting it edit my files. Does anybody else feel the same? If I'm understand it psychologically, if for no other reason. Started programming in 1983. Am I old?" So, to this, Uncle Bob replies, "I'm significantly older than

[00:55] you. I started coding in the late '60s. My current strategy, and this is viral, is because he says, "His current strategy is to not read any of the code written by my agents. That's the only way I can take advantage of their

[01:08] productivity. What I do instead is to surround the agents with extreme constraints, unit tests, Gherkin tests, QA procedures, quality metrics, mutation testing, test coverage, and a plethora of others. In the end, I have very high

[01:20] because they've had to run the gauntlet of all of my constraints and tests. So, discuss, and I know this is going to is that this is where we are directionally going as software

[01:34] isn't the future that they were hoping for. So, let's unpack this by writing out the core premise, which basically says that you should not be reading AI-generated code. The reason this ends up being so controversial is partly

[01:49] because Uncle Bob said it. A lot of folks have pretty strong feelings for or reasons. Now, I'm not going to go into this. It's completely irrelevant for the discussion I want to have. And that is if this argument even makes sense to

[02:03] begin with. Now, there's another popular YouTuber called Fio. He produced an excellent video discussing this, and he basically ranks all code on this spectrum, where at the lower end we've got, let's say, a web app with one user,

[02:18] and on the high end we've got something like people die if the code is not how much of the code should you be reading depending on where you are on here, then you should definitely be reading all of your code regardless of

[02:33] if it's human written or AI generated. Whereas, if you are somewhere here, then it probably doesn't even matter because if mistakes were made, the impacts are way, I don't intend to cannibalize his entire video. I'm going to actually

[02:45] leave a link to it in the description below, and I encourage you to check it interesting points there. Now, where I would place my own code is somewhere on running a SaaS right now called Catabenche, which is a learning platform

[02:59] for .NET developers. And although I consider the software mission-critical some parts of the platform, and I don't exactly have one user. I've actually got plenty of users, and the platform is growing daily. But still, nobody is

[03:13] actually going to get hurt if the code in the platform is AI-generated and God forbid not read before being pushed to production. Now, how do you actually do this? How do you produce tons of code using AI without producing slop? So, the

[03:27] against this is something along the lines of all AI-generated code is slop. Now, the reason I don't agree with this is because that all of the popular AI models that we are using right now were trained on human code. Go figure. So,

[03:43] from this we could extrapolate that all human code is also slop, right? Because the AI doesn't really have an ability to produce new code. It only generates things it already saw and that were part of its training. So, I don't really

[03:57] agree with this, but we can definitely say that some human-written code is slop and that might also imply that some AI-generated code is slop. How much that matters is again going to depend which type of application you are building.

[04:09] Let's say that you are open-minded and that you actually want to explore this idea. How do you take AI-generated code, regardless of how it was produced, let's say cloud code or codex or any other agent that you could be using, how do

[04:23] you take this code and validate that it is correct without having to actually read it? You have to do some sort of verification and fundamentally these are things that we've always done to make sure our code works correctly, right?

[04:36] So, we've got things like manual QA. You open up the app, you test it and you validate that it works correctly. In fact, we've got a role called a QA engineer whose sole job is to validate that the code that you produce works

[04:49] correctly or in other words, the application works as was intended when requirements were defined. Then another thing you can do is write tests and you can write a lot of this. So, we've got unit tests, we've got integration tests,

[05:01] we've got architecture tests, which are really proving valuable with AI generating a lot of the code. It's now harder for the agents to break the architecture that you put in place because you can encode it behind a set

[05:13] this, you can do a lot of interesting things. For example, you can have skills that tell the agent how to verify the code that it produces. You can build custom debuggers. You can add harnesses to ensure that whatever code you produce

[05:27] works correctly. You can write tools to help you validate the functionality of your application. You can do mutation testing. You can also use code coverage. Although it's not a metric for code quality or correctness, it still helps

[05:39] you measure how much of your application is actually covered by your tests and can focus your agents on to write more tests. Now, the really interesting thing is that, let's say you generate a given number of code measured in lines of

[05:54] code, however many this is. What you now have the ability to do with AI and have the ability to do with AI and agents is generate a lot of additional code that validates the application code. So, basically, you write more code

[06:07] to validate the application code that you generated, and this could be any outlined here. You can tell it to do manual QA. You can tell it to write more tests. You can generate skills that are going to verify that your code is

[06:20] around the entire process of producing code that can help you verify the code as it's being generated. When you think about it, this is essentially how software engineering as an industry has functioned for many years, except

[06:34] instead of using AI to generate code, we were using humans to generate the code, more or less the same. There were QA engineers, we would write tests ourselves to verify the code. And after all of that is said and done, humans

[06:47] still produce slop. So, now the equation has shifted, and you as an engineer may no longer be responsible for writing, or let's say generating, the majority of the code in production code bases. And a lot of people have a problem with that

[07:00] because they've centered their identity around writing code, where the code itself is only an artifact that gets you from point A to point B. I'm not saying that code isn't important, but from a business perspective, code is only one

[07:13] combination of things, and essentially, whatever is the functionality that a given business provides that produces the actual value. Code is there to facilitate the value creation, and you

[07:25] can still do the value creation part even without handwriting all of the code and using AI agents to produce the code. I'm going to wrap it up here, and I'd how you feel about all of this, and where you see our industry headed in the

[07:39] coming years. And I promise to make a separate video discussing more in-depth we assume that agents are going to generate the majority of the code going forward. And that begs the question, what our role is going to be as

[07:52] developers. And my overall opinion is that future is very bright if you are a software engineer, where I'm stressing the engineer part. If you want to see what my AI agent workflow looks like, I talked about it in-depth in this video

[08:04] here, which you can take a look next. And then see how you could apply that to some side project that you're working on, or maybe even in your production this video, go ahead and smash the like

[08:17] button. Thanks a lot for watching, and until next time, stay awesome.

More from Milan Jovanović

View all

⚡ Saved you 0h 08m reading this? Transcribe any YouTube video for free — no signup needed.