4 ms·
Sorry, I should've clarified - I'm not opposed to the principle, in moderation of course. You're hitting on places where it is quite useful. It's incredibly mi
by CarpetBench 10y ago
Sorry, I should've clarified - I'm not opposed to the principle, in moderation of course. You're hitting on places where it is quite useful.
It's incredibly mind-numbing when it's being used to justify laziness and short-sightedness. Worse, it's not exactly a misuse of the phrase, as per the original XP article:
> Always implement things when you actually need them
Security is, as an example, one of those things where you'd face a disaster if you just implemented it when you actually needed it (i.e. when an attack occurred).
YAGNI is incredibly short-sighted in situations where rectifying the situation later will be an absolute nightmare (or just impossible). An ounce of prevention is worth a pound of cure, and all that.