4 ms·
What's funny is that DRY was first popularised in the Pragmatic Programmer[0] book, and "coincidental" duplication is explicitly addressed right there on page 3
by DougBTX 4y ago
What's funny is that DRY was first popularised in the Pragmatic Programmer[0] book, and "coincidental" duplication is explicitly addressed right there on page 34, "not all code duplication is knowledge duplication... the code is the same but the knowledge is different... that's a coincidence, not a duplication."
[0] https://www.amazon.co.uk/Pragmatic-Programmer-journey-mastery-Anniversary/dp/0135957052 https://www.amazon.co.uk/Pragmatic-Programmer-journey-master...
- loudgas 4y agoI believe this was added in the 20th anniversary edition to address the overuse of DRY following the original edition.