YAGNI
YAGNI, short for "You Aren't Gonna Need It," is a software development principle of not building features until they are actually needed.
YAGNI stands for "You Aren't Gonna Need It." It is a software development principle holding that features or code should not be built on the expectation that they might be useful later, but only once they are actually required. The principle comes from Extreme Programming (XP), an agile software development methodology.
It rests on the view that building functionality nobody uses adds development and maintenance costs and makes code more complex, and it is often cited as a guard against over-engineering. It is frequently mentioned alongside KISS, which stresses keeping designs simple; where KISS is about simplicity of structure, YAGNI focuses on not implementing functionality before there is a real need for it.
This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.