Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4160

Don't Repeat Yourself

Don't Repeat Yourself
BusinessHigh supportManagement
Included
account_tree

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

psychology

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

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/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Don%27t_repeat_yourselfZH · Explicit
    verified

RELATED MODELS