YAGNI YAGNI

YAGNI - Definition and Overview

In software engineering, YAGNI, short for 'You Ain't Gonna Need It', a reminder for programmers that one should never add functionality until it is necessary. The temptation to write code to that is not necessary at the moment but is perceived to be necessary in the future has some overlooked disadvantages.

  • Delays what the programmer was originally working on.
  • There is a chance that the requirements will change and the functionality either need to be changed or won’t be needed any more. The situation now is that the programmer has now wasted the time to add the functionality and now has to waste additional time to clean it up so that it’s not buggy, matches the API requirement or doesn’t clutter up the code.

Example Usage of YAGNI

ahockley: Remember kids... YAGNI.
jrojo: Tirando cables como loco para la minidemo. Pragmatismo. KISS, YAGNI y todo eso....
sazameki: YAGNI の呪文の善し悪しは諸説あるものの、少なくともプログラマの生活の行動原理には、この呪文が何かしら効いていることは否めない現実であるように思われる。
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.