Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M1591

Boat Anchor

Boat Anchor
BusinessHigh supportManagement
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

Refers to a piece of code or functionality retained in a codebase that is no longer useful (not called), but is kept because developers fear "it might be useful later" or "we don't know what will happen if we delete it," dragging down the system like an anchor.

Definition

Refers to a piece of code or functionality retained in a codebase that is no longer useful (not called), but is kept because developers fear "it might be useful later" or "we don't know what will happen if we delete it," dragging down the system like an anchor. Scaffold use: decisively cut off and let go. In life and management, regularly clean up those "boat anchors" (outdated regulations, old businesses no longer maintained, dusty clutter). If it might be useful later, version control (History) can retrieve it; delete it now.

How to use

Decisively cut off and let go. In life and management, regularly clean up those "boat anchors" (outdated regulations, old businesses no longer maintained, dusty clutter). If it might be useful later, version control (History) can retrieve it; delete it now.

Mechanism

The software anti-pattern "Boat Anchor": retaining code/functionality/assets that are no longer called or valuable, often with the rationale "might be useful" or "afraid of breaking something if deleted." The cost is continuously slowing down the system (cognitive load, maintenance cost, risk of misuse), while version control already guarantees recoverability. Essentially, it is irrational retention caused by "sunk cost + loss aversion."

Practice

In progress 0/1

Practice this model in one real situation:

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

Cases

  • Dead code slows down compilation and reading; old product lines in enterprises that are no longer maintained but consume resources; personal clutter of "someday I'll use it"; legacy configuration files causing incidents.

Common pitfalls

  • Reluctant to delete due to loss aversion, mistakenly thinking "keeping it costs nothing." Believing deletion is irreversible—modern VCS has solved this. Treating "might use" as "currently useful."
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E9%94%9AZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS