Re:The Wrong Abstraction (2016)
by your-nanny on Saturday July 21, 2018 @10:07AM
(#17582026)
I think it just takes a few times having to back out of an abstraction because of changes to requirements to become wary of premature abstraction.
It's usually the intermediate developers who like having rules to follow to know that they're doing well that tend to over-apply DRY and other principles. Only experience (aka pain over time) seems to show when to break (or just not apply) the rules.
Perhaps it's just the way things are taught/learned. Instead of just showing what's good and have them interpreted as rules, each should be shown as a rule of thumb with a concrete example of when it should not be applied. Even if they don't clearly understand the difference at the time, they'll always recall that there are exceptions and not feel so motivated to apply it in every instance.