Boat Anchor
Version 1.0.0 · Updated 2026-07-30
CORE 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.
SCAFFOLDING EFFECT
Reduce cognitive load
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.
Anchor fast decisions
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."
MINIMUM ACTION
In progress 0/1Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E9%94%9Averified
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