3 ms·
A good rule is two maybe even three duplications is ok. After that, probably tome to refactor at least a little. Often this rule of thumb saves some efforts.
by bitexploder 4y ago
A good rule is two maybe even three duplications is ok. After that, probably tome to refactor at least a little. Often this rule of thumb saves some efforts.
- Rexxar 4y agoThe rule should not be primarily based on a number of duplications but if we know that all the duplicated parts need to be changed when one is changed.
- idontwantthis 4y agoW.E.T. then D.R.Y. (Write Everything Twice)