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.
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.