All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Security
Security
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

YAGNI Was Never About Saving Effort — It's About Keeping Options Open

By

Kent Beck

9d ago· 5 min readenOpinion

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

Hacker NewsYAGNI Was Never About Saving Effort — It's About Keeping Options Opennewsletter.kentbeck.com

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."
Snippet from the RSS feed
If you think YAGNI is about saving effort, cheap generation should retire it. It doesn't. Here's why.

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.