Voodoo Programming
Updated 2026-07-30
Summary
Refers to programmers copying code without understanding the underlying principles, merely because "it seems to work this way" or "that's how the code is written online."
Definition
Refers to programmers copying code without understanding the underlying principles, merely because "it seems to work this way" or "that's how the code is written online." Once the code has problems, they can only rely on superstitious attempts (changing this, changing that) to fix it. Scaffold use: Be wary of knowing the how but not the why. In corporate decision-making, if a policy is implemented because "other companies do it this way" or "it's always been done this way," that is managerial voodoo programming. One must question the underlying logic.
Introduction
How to use
Be wary of knowing the how but not the why. In corporate decision-making, if a policy is implemented because "other companies do it this way" or "it's always been done this way," that is managerial voodoo programming. One must question the underlying logic.
Mechanism
Refers to copying "working" code or practices without understanding the principles, and when problems arise, relying on blind trial-and-error (changing this, changing that) rather than identifying the root cause; essentially, it is superstitious engineering of "knowing the how but not the why."
Practice
In progress 0/4Practice this model in one real situation:
Cases
- Copying online scripts without understanding the parameters, so when bugs occur, you can only try random fixes; companies copying other companies' policies without considering their applicability.
Common pitfalls
- Ending with "it works" as the goal—planting fragility and unmaintainability; using more trial-and-error to mask the lack of root cause.
Sources
Source support: Explicit
- catb.orghttp://catb.org/jargon/html/V/voodoo-programming.htmlverified
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