|
|
|
|
|
by Lio
1753 days ago
|
|
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. |
|