Cargo Culting
ELI5 — The Vibe Check
Cargo culting is copying code patterns without understanding why they work. You saw it in a tutorial, it fixed the problem, so you use it everywhere. You add async/await to synchronous functions. You wrap everything in try-catch blocks 'just in case.' You import a library for something JavaScript can do natively. The code works, but you're performing rituals, not engineering.
Real Talk
Cargo cult programming (named after cargo cults that mimicked military behavior without understanding its purpose) is the practice of applying code patterns, architectural decisions, or development practices based on superficial resemblance to successful projects rather than genuine understanding. It leads to unnecessarily complex code, inappropriate pattern usage, and difficulty adapting when requirements change.
When You'll Hear This
"The entire middleware stack is cargo-culted from a Netflix engineering blog post." / "Cargo culting microservices when you have 10 users is peak over-engineering."
Related Terms
Anti-Pattern
Anti-Pattern is the opposite of a design pattern — it's a commonly used approach that looks like it solves a problem but actually makes things worse.
Copy-Paste Driven Development
Copy-paste driven development is building your app by stitching together code snippets from AI chats, Stack Overflow, and blog posts like a digital Franken...
Design Pattern
Design patterns are like recipe cards for solving common coding problems.