Primitive Obsession
Updated 2026-07-30
Summary
In programming, it refers to the excessive use of primitive data types (such as using strings to represent dates or phone numbers) without encapsulating them into dedicated objects.
Definition
In programming, it refers to the excessive use of primitive data types (such as using strings to represent dates or phone numbers) without encapsulating them into dedicated objects. In cognition, it refers to thinking only with the most primitive and rough concepts, lacking refined and specialized models. Scaffolding use: refined thinking. When discussing complex things (such as "good design"), if you can only use primitive words like "good/bad", you are suffering from "primitive obsession". Build a specialized vocabulary (such as "negative space", "visual balance").
Introduction
How to use
Refined thinking. When discussing complex things (such as "good design"), if you can only use primitive words like "good/bad", you are suffering from "primitive obsession". Build a specialized vocabulary (such as "negative space", "visual balance").
Mechanism
"Except itself" is a limiting expression for boundary exclusion, often used in sets, definitions, or rules, indicating that an object applies to all members except the self-referential object, to avoid self-reference paradoxes or circularity.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- "All nodes are connected to each other, except itself"; use exclusion in self-referential definitions to avoid paradoxes.
Common pitfalls
- Forgetting to exclude self-reference leads to circular definitions. Generalizing "except" to arbitrary exceptions.
Sources
Source support: Explicit
- nplus.wikihttps://nplus.wiki/refactoring/docs/03-bad-smells-in-codeverified
account_treeGenealogyexpand_more
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