The modern developer: he attac bugs; he protec project.
The point of YAGNI is not that we, as programmers, are lazy.
We are trying to protect our project from complexity and bugs.
Also there is an opportunity cost.
An opportunity cost is the loss of other alternatives when one alternative is chosen.
Instead of adding functionality we could be refactoring or making tests.
Those hours of refactoring and testing are forever lost and instead we have some functionality that might or might not be needed in the future.
What is sure is that we increased complexity from now on and increased the risk of bugs.
This meme is part of the “YAGNI” episode from the Clean Code course.