DEV Community

Discussion on: Practicing YAGNI

Collapse
 
gonedark profile image
Jason McCreary

While I understand what you mean, you're still playing the same old game. When practicing YAGNI, you don't want to spend your time imagining every possible future scenario. You want to do what works right now. Save the time and mental energy for later.

Said another way, believe your future self is smarter. In a paradoxical way, you aren't even smart enough to block them.

Collapse
 
alainvanhout profile image
Alain Van Hout

I get what you're saying, but imaging myriad possible scenarios and instinctually evaluating them for being blocked, is something that in reality takes on the order of 15 minutes. TDD even is more expensive than that.