Disposable code
- 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-09-14
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:
- port-not-patch-contribution β the open-source case. Once forking-and-porting a library is a 45-minute job, the incentive to send an upstream fix weakens; the cheap local rewrite wins.
- llm-as-average-democratizer and average-is-all-you-need β the market case. Cheap average output lifts the floor and flattens the value of being merely competent.
- language-choice-for-agents β the same cost function applied to language selection, where the human-throughput term that once favored Python inverts.
- ai-superpowers-focus-followthrough β what the lowered threshold looks like when nothing else changes: Manelius cleared a decade-old someday-maybe list and ended up tending 40 proof-of-concept projects at once, each one a new open loop.
- service-with-a-software β the same shift from the buyer's seat, where a designer cancels his prototyping and file-sharing subscriptions because building the tools became faster than configuring somebody else's.
- solid-bases-custom-code β the vendor's map of the same shift: the durable part is the data base (storage, permissions, history), and the 20% of custom interface on top becomes cheap enough to generate. Written by the founder of a company selling the base.
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.
For the opposite reading of "code is cheap" β writing it got cheap, owning bad code got dearer β see pocock-software-fundamentals.
- Software Fundamentals Matter More Than Ever
- The New AI Superpowers: Focus and Followthrough
- The cheap reverse-engineering of home devices
- AI-Written Code Is Still Your Code
- Micro-SaaS Is Dead. Service with a Software Replaces It.
- Simon Willison's Weblog
- Malleable Software = Solid Bases + Custom Code
- We Are Not Special