Map

Disposable code

Wiki conceptllmai-agentssoftware-economics โ†ณ show in map Markdown
title
Disposable code
type
concept
summary
When code is cheap enough to write, fail at, and throw away, maintenance dread stops deterring marginal projects and the ROI threshold shifts
tags
llm, ai-agents, software-economics
created
2026-07-21
updated
2026-07-21

Disposable code is code cheap enough to produce that keeping it, maintaining it, or throwing it away are no longer decisions that carry much weight. The idea matters because it changes not how code gets written but which projects get attempted at all.

The traditional cost model for a piece of software has two parts: the effort to build it, and the open-ended tail of maintaining it. For any project the two together set a bar, and the project only happens if the expected value clears that bar. Small, marginal projects โ€” a personal automation, a one-off script against an undocumented API โ€” often failed the test not on the build cost but on the maintenance tail. Undocumented and unstable interfaces break; committing to chase those breaks forever is a real cost, and for a light switch it usually isn't worth it.

Coding agents move both terms. The build cost drops, and so does the cost of trying and failing โ€” you can attempt something, watch it not work, and abandon it without having sunk much. That second part is what makes the marginal attempt rational: cheap failure, not just cheap success. And when the code was cheap the first time, regenerating it after it breaks โ€” or deleting it and starting over โ€” stops feeling like a loss. The instability of the underlying interface doesn't go away. It just stops being a reason not to begin. Simon Willison names this exactly in cheap-reverse-engineering: the maintenance burden of undocumented home-device APIs was doing more to suppress projects than the writing effort ever was, and dropping the cost of code removes that suppression.

The same shift appears across the wiki under other framings:

The counterweight is peril-of-laziness-lost. Disposability cuts both ways: code that nobody has to justify keeping is exactly the regime where bloat accumulates, because the friction that used to force simplicity โ€” someone has to maintain this โ€” is gone. Cheap-to-write and cheap-to-discard are the same property, and it removes the discipline along with the deterrent.