You aren't gonna need it
Template:Short description "You aren't gonna need it"[1][2] (YAGNI)[3] is a principle which arose from extreme programming (XP) that states a programmer should not add functionality until deemed necessary.[4] Other forms of the phrase include "You aren't going to need it" [5][6] and "You ain't gonna need it".[7]
Ron Jeffries, a co-founder of XP, explained the philosophy: "Always implement things when you actually need them, never when you just foresee that you [will] need them."[8]
Context
YAGNI is a principle behind the XP practice of "do the simplest thing that could possibly work" (DTSTTCPW).[2][3] 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, known as technical debt.Template:Citation needed YAGNI's dependency on supporting practices is part of the original definition of XP.
See also
{{#invoke:Portal|portal}} Template:Div col
- Don't repeat yourself (DRY)
- Feature creep
- If it ain't broke, don't fix it
- KISS principle – "Keep it simple, stupid"
- Minimum viable product
- MoSCoW method – development prioritization technique
- Muntzing – electronics minimalism
- Overengineering
- Single-responsibility principle (SRP)
- Template:Anli
- Unix philosophy – simple tools
- Lazy evaluation
- Lazy loading
References
- ↑ Cite error: Invalid
<ref>tag; no text was provided for refs namedXPi - ↑ 2.0 2.1 Cite error: Invalid
<ref>tag; no text was provided for refs namedXPe - ↑ 3.0 3.1 Cite error: Invalid
<ref>tag; no text was provided for refs namedOOC - ↑ Cite error: Invalid
<ref>tag; no text was provided for refs namedXPA - ↑ Cite error: Invalid
<ref>tag; no text was provided for refs namedRef - ↑ Cite error: Invalid
<ref>tag; no text was provided for refs namedLSD - ↑ Cite error: Invalid
<ref>tag; no text was provided for refs namedDPiR - ↑ Cite error: Invalid
<ref>tag; no text was provided for refs namedRJef