Engineering brief

Code Quality Has a Simple Answer: It Depends on Disposability

AI Engineer3 min read · saves 13 min

At a glance

The brief is enough

Relevance
Practical value
Radar
Time horizon
Now
Warnings
None

Max Kanat-Alexander cuts through the code quality debate with a clear framework: disposable software doesn't need rigor, durable software does. The real engineering work is making rigor cheap enough to apply everywhere.

The disposable/durable distinction gives teams a practical framework for where to invest in code quality.

Watch if you are deciding code quality standards for a team adopting agent-generated code.

Summary

The framework. Max Kanat-Alexander, a Capital One engineer, argues that all software success depends on two factors: understanding the system and executing on that understanding. Code quality practices exist only to serve these two goals. On small systems, understanding is trivial. On real systems like Chromium, with millions of interacting components, structure becomes essential for comprehension and safe modification.

The risk model. Every modification carries two categories of risk: introducing a problem (bugs, budget overruns, timeline slips) and making future changes harder. Both stem from failures of understanding. Poor structure compounds these risks non-linearly over time, eventually making every change painful. This is why large legacy systems become unmodifiable.

The new category. Kanat-Alexander introduces disposable software: systems with minimal consequences of failure, few dependencies, near-zero replacement cost, and negligible maintenance cost. In this world, code quality does not matter. AI coding tools make disposable software dramatically more common. Think of a party planner written for a single event, then thrown away.

The spectrum. Disposable and durable are not binary. The same four factors — consequences, cost of replacement, dependencies, and cost of maintenance — determine where a system falls. The speaker warns that engineers should err on the side of durability. But organizations can also actively increase disposability through isolated environments, enforced independence, and redundancy.

Reducing rigor cost. The most important engineering work is not increasing rigor, but decreasing the cost of rigor. Standardization removes entire categories of tooling and knowledge. Inward-flow tooling that runs automatically, reliably, and fast makes rigor feel free. Making testing easy through in-memory fakes and fast, deterministic infrastructure reduces friction.

The bottom line. The question "Does code quality matter?" has a concrete answer: no for disposable software, yes for durable software. The more interesting question is whether rigor must be expensive. It does not. Teams should invest in making rigor cheap enough to apply everywhere, including systems they initially assume are disposable.

My take

I've watched teams spend months debating lint rules while their test suites take 45 minutes. This talk names what actually compounds: the cost of understanding. The disposable/durable axis is useful, but I'd push back on one thing. The speaker says disposable software will be 100,000 times more common. I think teams will discover that systems they intended as disposable become depended on, making them de facto durable. The safer bet is to assume every agent-generated script will eventually need to be understood by a human. Make rigor cheap now, not when the script is handling production data.

What to do with this

  1. Audit your systems against the four disposability factors (consequences, replacement cost, dependencies, maintenance cost).
  2. Identify one team practice (linting, testing, standardization) and measure its cost-per-engineer-hour.
  3. Ask your team: what would make our test infrastructure as automatic and reliable as a compiler warning?

Watch the video

This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.

Related breakdowns

Get TL;DW

Too Long; Didn't Watch.

A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.

Free. Weekly. No hype.

Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.