4 ms·
Not all duplication is bad in all cases. It is more a factor of quality, not a direct, causal relationship. See for example this review of publications about co
by junke 11y ago
Not all duplication is bad in all cases. It is more a factor of quality, not a direct, causal relationship. See for example this review of publications about code duplication: http://eprints.eemcs.utwente.nl/15314/01/ewic_ea09_s4paper2.pdf http://eprints.eemcs.utwente.nl/15314/01/ewic_ea09_s4paper2.....
- NateDad 11y agoYes, I agree completely. Take leftpad, for example.... And more seriously, there are times when factoring out "common" code makes the code significantly more complicated, and often turns your common code into a morass of special cases as your application progresses, and these cases that looked "the same" end up being "not quite the same".