Hacker News new | past | comments | ask | show | jobs | submit login

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




I believe this was added in the 20th anniversary edition to address the overuse of DRY following the original edition.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: