Mechanism◆Article · 13:20 — 19:20
AI may shift software development from treating code like pets to treating it like cattle, because generating and replacing code can become cheaper than editing it.
Previously, writing software from scratch was much more expensive than modifying existing code. AI makes it feasible to generate many alternatives quickly, potentially enabling teams to replace faulty code rather than repair it, analogous to modern infrastructure practices. ✦ AI generated
Charity Majors · The Pragmatic Engineer · 2026-08-12 · original ↗
AI could have the software industry go through the “pets” to “cattle” change that compute infra went through in the 2010s. Up to now, writing software from scratch was far more expensive than editing existing software. But now, generating hundreds of variants of a function can be done faster than how long it would take you to hand-write it once. Charity believes that we might be at the beginning of the transition from “pets” to “cattle” that happened at the hardware infrastructure layer. Before the 2010s, configuring and repairing individual servers was commonly done. But with tools like Terraform and Kubernetes, individual servers having issues are no longer fixed up: they are re-created instead. Charity thinks the same might happen with code, sooner rather than later. When there’s an issue with the code, generate new code that solves it, and is verifyably correct.
Read full article ↗excerpt · fair-use quotation
- ·Generating code may become cheaper than editing existing code.
- ·Teams could replace faulty code instead of repairing it.
- ·The shift mirrors modern infrastructure practices.
- ·Terraform and Kubernetes made troubled servers replaceable.
- ·AI can generate new code to solve defects.
- ·Replacement depends on code being verifiably correct.
Around this claim
This moment responds to
explains mechanism → AI-generated, non-deterministic systems require more engineering discipline, especially stronger testing, evaluations, and conformance validation.Charity Majors · The Pragmatic Engineersupports → Engineering leaders should move toward AI immediately, and anxious directors should consider returning to individual-contributor work because it offers more agency.Charity Majors · The Pragmatic Engineergives example → AI can now do the work — not just store information — and that expands the market massively because software can charge for labor, not just for storage or payment processing.Alex Rampell (a16z) · a16z Podcastsupports → Every single job will either be replaced or enhanced by AI, and it may be an acceptable outcome for GDP, profit margins, and wages to grow even while employment does not.Marc Rowan · a16z Podcast