Show pagesourceBack to top Share via Share via... Twitter LinkedIn Telegram Yammer RedditRecent ChangesSend via e-MailPrintPermalink × Don't Repeat Yourself (DRY) The Don't Repeat Yourself (DRY) principle is a principle that you shouldn't repeat yourself in code. Code that isn't DRY is usually called "wet" or "diarrhea" code. Literature The Pragmatic Programmer – your journey to mastery, 20th anniversary edition, chapter 9 "The Evils of Duplication" (freely available on the Internet) Refactoring.guru: Duplicate Code Last modified: 2024-07-05 14:31