YAGNI Was Never About Saving Effort — It's About Keeping Options Open
By
Kent Beck
Summary
This article reexamines the YAGNI ("You Aren't Gonna Need It") principle from Extreme Programming, arguing that its true purpose has been widely misunderstood. The author recounts a personal story where Chet Hendrickson wanted to build a more complex solution preemptively, and the author insisted on YAGNI — not to avoid effort, but to preserve the ability to learn and adapt. The core argument is that YAGNI is about keeping options open and enabling emergent design based on real feedback, not about laziness or minimizing work. The author contrasts this with the modern era of cheap AI generation, noting that even if code generation is free, the cost of carrying unused complexity (cognitive load, maintenance burden, reduced adaptability) remains high. YAGNI is framed as a principle of learning and flexibility, not cost savings.
Source
Key quotes
· 5 pulled"You aren't going to need it."
"YAGNI is not an excuse to never think about the future."
"The cost YAGNI was never about was the cost of writing code."
"YAGNI is about learning. It's about keeping your options open."
"Even if generation is free, carrying unused complexity still costs you."
You might also wanna read
Cognitive Surrender: When AI Output Replaces Human Judgment Without Notice
The article introduces the concept of "cognitive surrender" — distinct from "cognitive offloading" — where AI users not only delegate tasks
Poorly planned AI strategies create confusion among employees and waste resources
The article examines how companies are rushing to implement generative AI without proper strategy, leading to confusion among staff and inef
AI reliance may be harming critical thinking, new research suggests
This article argues that reliance on AI tools like ChatGPT is eroding critical thinking skills and cognitive depth. The author contrasts the
AI Won't Replace Developers, But Will Make Poor Thinking Costly
The article argues that AI-assisted coding is becoming the new standard in software development, but the real competitive advantage will shi
Software Is Now Written at the Speed of Thought. Security Isn't.
Why AI Coding Agents Need to Think Beyond "Done"
The article discusses how AI coding agents default to taking the shortest path to "done" — writing code immediately without considering spec

Comments
Sign in to join the conversation.
No comments yet. Be the first.