YAGNI refers to You aren’t gonna need it. This is one of the principles that you can find in Extreme Programming (XP). It is stating that a programmer should not go ahead and add any added functionality into the unit unless it is required. This is one of the best methodologies that are being used as of now in order to make sure that the developers don’t get stuck with overloading with work.
YAGNI is encouraging the developers to go ahead and implement things that are actually needed by them, instead of accommodating everything that is available down on the pipeline. If a developer foresees that it is not needed, there is no possibility to go ahead with it. This understanding creates a perfect environment to go ahead with YAGNI.
YAGNI focuses more on doing simple things that can possibly work. The developer has to understand what should be really done and then go ahead with it.
When it comes to agile software development, the developers have a limited time to get their work done. Therefore, it is important to make sure that the developers are only undertaking what is needed by them to work on.
In order to get the most out of YAGNI, it is important to understand what can be done in terms of developments and remove the other work.
A developer will be able to take a look at the product backlog. Then it is possible to deep dive through the stories and understand what is needed to be implemented. The rest can be ignored to save time.
— Slimane Zouggari