You Arent Gonna Need It (often abbreviated YAGNI) is an Extreme Programming practice which states:
"Always implement things when you actually need them, never when you just foresee that you need them."