YAGNI stands for You Aren't Gonna Need It and it means that you should implement things only when you need them, not when you think they might be useful in the future. Because of that, your code will be shorter and cleaner.