Does Code Quality Matter in the AI Era?
We are officially in a new era of development.
AI is writing most of our code. Not just helping, not just autocompleting a function here and there. It is a driver now. Companies have automated workflows where AI produces bug fixes for monitoring tools like Sentry alerts without a human ever touching it. Many bugs are being caught, diagnosed, and fixed by AI without a human ever spending even a second to worry about how to fix it.
People are building features with AI. Entire apps with AI. The human is becoming the reviewer, not the author.
So in this AI productivity era, does code quality still matter?
If yes, how much? If no, why not?
I think the discussion now circles back to what "clean code" even means. There was a popular saying: write code for humans, not for computers. The idea was that your future teammate, or your future self, would be the one reading it at 2am trying to figure out what went wrong.
But think about that now. Computers, agents, and systems are going to read and edit the majority of code going forward. They are the ones writing it, and they are the ones coming back to fix it. So does the old definition still hold? Does it even matter if the code is messy, as long as the machine can parse it?
That is the question worth sitting with.
Here is the honest answer: for most code being written today, quality probably does not matter as much as we used to think.
And that is not a controversial take anymore. It is just reality.
The weekend project. The internal tool nobody outside your team will ever touch. The script that runs once and gets thrown away. Vibe code it, ship it, move on. If it works, it works. AI will probably rewrite it anyway the next time someone asks it to "improve this."
But here is where it gets interesting.
Maybe the parts where quality does matter do not matter as much anymore either. And that is a strange thing to say out loud, but it might just be true.
Think about what is actually happening in production systems today. AI is autonomously patching code. It is building entire features. It is fixing its own bugs. It is writing code, maintaining it, and coming back to clean up after itself. Humans are not disappearing from the loop, they are just stepping further and further back from it.
Maybe clean code was always solving a human problem. And if humans are leaving the loop, the problem is leaving with them.
We honestly do not know yet. The codebases running on AI-generated and AI-maintained code are still young. The compounding effects, if there are any, have not fully shown up. Maybe they will. Maybe clean code will turn out to matter more than ever in those systems. Or maybe AI just gets better and the whole debate becomes irrelevant.
That is the part nobody can answer right now.
Clean code was a discipline built for a different era. Whether it survives this one or quietly becomes a relic, we are probably a few years away from knowing for sure.
