# Anti-Pattern

*noun*

say it: **“AN-tee PAT-urn”** **/ˈænti ˈpætərn/**

A common answer to a problem that seems to work but causes more trouble than it solves, and has a known better answer.

## What is an **anti-pattern**?

An **anti-pattern** is a common answer to a problem that seems to work, causes more trouble than it solves, and has a known better answer. Copying a block that works instead of naming it is one (copy-paste programming); one class that does everything is another (the god object). A code smell is the symptom you see; an anti-pattern is the habit that produces it; a design pattern is a fix that holds up.

## In a sentence

- “Copying working code to every screen that needs it is an **anti-pattern**: it feels like a fix and isn't.”

Level: Journeyman · [More Software Development terms at this level](https://www.ask-codey.com/glossary?category=software-development&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/anti-pattern
