Re:Don’t Let Architecture Astronauts Scare You (2001)
by Lio on Tuesday August 31, 2021 @05:31AM
(#28365685)
A somewhat cheesy aphorism for this is "Dry but not so dry it cracks".
Personally I like the rule of thumb that you let 3 instances of something occur before you try to refactor it into a single design.
Without examples of real usage it's far too easy to come up with bad abstractions. I'd rather have code that's easy to delete later.
A good architect worth their salt will be able to find the right balance. To distill and simplify a problem down to the absolute minimum where it cannot and should not be abstracted anymore before it lose or miss its core objectives and reason to exist.