Almost _all_ the cost of software is in the future. That's part of why _any_ new feature is alluring. It _appears_ inexpensive from here. Turns out the cost is just unknown.
YAGNI (you aren't gonna need it) doesn't just apply to functions, methods, or classes. It applies to entire feature sets that sound neat, fun, or interesting. Someone has to maintain that shit for the lifespan of the software unless it's explicitly deprecated which simply doesn't happen, in my experience.