従わなければいけないルールではなく原則に過ぎない

良いまとめ記事 あなたはDRY原則を誤認している?

  • すべての知識はシステム内において、単一、かつ明確な、そして信頼できる表現になっていなければならない。

  • Most people take DRY to mean you shouldn’t duplicate code. That’s not its intention. The idea behind DRY is far grander than that. DRY says that every piece of system knowledge should have one authoritative, unambiguous representation. Every piece of knowledge in the development of something should have a single representation. A system’s knowledge is far broader than just its code. It refers to database schemas, test plans, the build system, even documentation.

関連 Write everything twice