what is yagni principle code example
Example 1: YAGNI
YAGNI -> You Aren’t Gonna Need It!
Functionality should only be implemented in a program when it is clear that it is really needed.
Example 2: YAGNNI
"You aren't gonna need it" is a principle of extreme programming 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."