2 ms·
Abstraction is critical, but it is also very hard. Unneeded and wrong abstraction creates more technical debt than no abstraction. A simpler design is easier t
by gpderetta 4y ago
Abstraction is critical, but it is also very hard.
Unneeded and wrong abstraction creates more technical debt than no abstraction. A simpler design is easier to extend, and worst case rewrite, than a more complex, abstract design.
If you know by experience, personal or otherwise, that a design or abstraction is sound, and you know you are very likely to need it in the future, go for it. Otherwise, YAGNI.