"You aren't gonna need it" (acronym: YAGNI) is a principle of extreme programming (XP) that states a programmer should not add functionality until deemed necessary. XP co-founder Ron Jeffries has written: "Always implement things when you actually need them, never when you just foresee that you need them." Other forms of the phrase include "You aren't going to need it" and "You ain't gonna need it".
Video You aren't gonna need it
Context
YAGNI is a principle behind the XP practice of "do the simplest thing that could possibly work" (DTSTTCPW). It is meant to be used in combination with several other practices, such as continuous refactoring, continuous automated unit testing, and continuous integration. Used without continuous refactoring, it could lead to disorganized code and massive rework. YAGNI's dependency on supporting practices is part of the original definition of XP.
Maps You aren't gonna need it
See also
- If it ain't broke, don't fix it
- KISS principle
- List of software development philosophies
- Minimum viable product
- MoSCoW Method
- Overengineering
- Worse is better
References
Source of the article : Wikipedia