|
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 wont 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 its not buggy, matches the API requirement or doesnt clutter up the code.
|