cargo cult programming
loreprogrammingops culture
Copying code or rituals that seem to work without understanding why, in the hope the result follows.
The phrase adapts Richard Feynman's "cargo cult science": going through the motions and expecting the outcome to appear. In code it looks like pasting a config, an incantation, or a boilerplate class because it worked somewhere else, without grasping what it does. The cure is understanding, not more copying.
Also known as: cargo cult, cargo-cult
Sources
- after Feynman's "cargo cult science", 1974