Don't Repeat Yourself
Version 1.0.0 · Updated 2026-07-30
CORE DEFINITION
"Don't repeat yourself." Every piece of knowledge or logic in a system should have a single, unambiguous, authoritative representation. If you write the same code in two places and change one but forget the other, bugs arise.
SCAFFOLDING EFFECT
Reduce cognitive load
Single point of truth. In company management, ensure the "Source of Truth" is unique. Do not maintain two different customer lists, and do not have two departments responsible for the same thing. Redundancy is the source of chaos.
Anchor fast decisions
"Don't Repeat Yourself" — every piece of knowledge or logic in a system should have a **single, unambiguous, authoritative representation (Single Source of Truth)**. Repetition means that modifications require syncing multiple places, and any omission leads to inconsistency and bugs. The mechanism is to replace "copy/paste" with "abstraction/reference".
MINIMUM ACTION
In progress 0/4Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Don%27t_repeat_yourselfverified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS