Does Code Quality Still Matter? It Depends on This — Max Kanat-Alexander, Capital One
- Source
- youtube.com
- Publisher
- AI Engineer
- Author
- AI Engineer
- Date
Context
Max Kanat-Alexander of Capital One answers the argument over whether code quality still matters when AI writes the code by asking what it was ever for. In his AI Engineer talk, his answer is that quality practices serve two needs: understanding what a system actually does, and changing that behavior safely. Readability, tests, debuggers and observability all exist, in his framing, because real systems are too complex to describe whole. Chromium, the open-source project behind Chrome, has more possible behaviors than anyone could put into words, but a component such as its URL parser can be understood because the code gives it a recognizable structure. Every change, he says, risks causing a problem now and making the system harder to understand, which makes later changes riskier, and that second risk compounds until every modification causes trouble.
His conclusion follows from that risk. Code quality matters only where the compounding risk exists, and AI is making a kind of software common where it does not. He calls it disposable software: programs where failure has little or no consequence, few people or other systems depend on them, and replacing or maintaining them costs almost nothing. A party planner written for one party, or a personal replacement for the calculator on your computer, can be thrown away and rewritten in hours. For that software, he says, quality does not matter. Durable software, the systems that run for years, serve thousands or millions of people and can damage a business when they fail, still needs every engineering practice built up over decades, and he expects there to be more of it, not less, because AI tools make it easier to build. He places any project on a scale using those four factors, consequences, cost of replacement, dependents and cost of maintenance, and advises erring toward treating software as durable.
The practical part of the talk is two moves that make that call less risky. One is to make software more disposable on purpose: run it in an isolated environment with no customer data, block other production systems from calling it, keep a clunky but reliable old system as a fallback so a home-built front end can fail harmlessly, and keep its scope small. The other is to make rigor cheap, so being wrong about where a project sits costs little when it turns out to need durability after all. His methods are standardization, which removes whole classes of decisions, such as which linters a language needs; checks that run automatically in the normal workflow and rarely raise false alarms; test infrastructure that makes fast, repeatable tests the default, including in-memory stand-ins for services that a can now write; and turning lint rules to maximum strictness from the start rather than facing a huge cleanup later. These are his recommendations from experience; the talk presents no measurements. This explanation is based on a machine transcript of the talk.
- Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
videoAgent Shapes: From Long-Horizon to Open-Ended — Yacine Mahdid, @deeplearningexplained
videoJudgement Is the Last Job — Ishaan Dey, Google DeepMind
videoUPDATED: The New Job of the Data Team Is Providing Context to AI — George Fraser, Fivetran
videoStop Prompting, Start Delegating — Ross Cefalu & Dex Horthy, Factory


