Anti-pattern

An anti-pattern is any common but counterproductive solution to some class of problem.

Uses your system voice; voice and rate in settings.

≈ 4 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

An anti-pattern is any common but counterproductive solution to some class of problem. The term, coined in 1995 by Andrew Koenig, was inspired by the book Design Patterns which highlights reliable and effective software development design patterns. Michael Ackroyd described anti-patterns in a paper presented at the 1996 Object World West Conference.

The 1998 book AntiPatterns popularized the idea and extended its scope beyond software design to include software architecture and project management. Other authors have extended it further to encompass environmental, organizational, and cultural anti-patterns. An anti-pattern can be distinguished from a bad habit, bad practice, or bad idea by two traits.

First, anti-patterns are commonly used processes, structures or patterns of action that initially appear to be appropriate and effective, but have greater drawbacks than benefits. Second, there is another way to solve the problem that is documented, repeatable, and effective where the anti-pattern is not.

Similar to patterns, a "rule-of-three" applies: to be an anti-pattern it should have occurred at least three times. Documenting anti-patterns can help to analyze a problem space and to capture expert knowledge. While some anti-pattern descriptions merely document the consequences of the pattern, good anti-pattern documentation also provides alternatives ways to minimize harm.

In software engineering

In software engineering, anti-patterns include: God object: A single class handles all control in a program rather than control being distributed across multiple classes. Magic number: A literal value with an important yet unexplained meaning which could be replaced with a named constant. Poltergeist: Ephemeral controller classes that only exist to invoke other methods on classes.

Big Ball of Mud: A software system that lacks a perceivable architecture. Although undesirable from a software engineering point of view, such systems are common in practice due to business pressures, developer turnover and software entropy.

In project management

Project management anti-patterns included in the Antipatterns book include: Blowhard Jamboree: An excess of industry pundits Analysis paralysis Viewgraph Engineering: Too much time spent making presentations and not enough on the actual software. Death by Planning: Spending too much effort planning. Fear of Success: Irrational fears near to project completion.

The Corncob: Difficulties with people. Intellectual Violence: Intimidation through use of jargon or arcane technology Irrational Management: Bad management habits. Smoke and Mirrors: Excessive use of demos and prototypes by salespeople.

Throw It Over the Wall: Forcing fad software engineering practices onto developers without buy-in. Fire Drill: Long periods of monotony punctuated by short crises. The Feud: Conflicts between managers. e-mail Is Dangerous: Situations resulting from ill-advised e-mail messages.

See also

: Software Life Cycle Profiles and Guidelines for Very Small Entities (VSEs) List of software anti-patterns

Further reading

Later re-printed in:

Anti-pattern at WikiWikiWeb

Text derived from https://en.wikipedia.org/w/index.php?oldid=1376517271 under CC BY-SA 4.0; modifications have been made.

Words in each sectionIn project managementIn project managementIn project management: 119 words119In software engineeringIn software engineeringIn software engineering: 92 words92See alsoSee alsoSee also: 15 words15Further readingFurther readingFurther reading: 3 words3
Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

Provenance

snapshot enwiki-001376517271 · captured 2026-09-24 · ledger · version history

Cite this page as: encyclopegia.org, “Anti-pattern”, snapshot enwiki-001376517271. https://encyclopegia.org/a/anti-pattern

Sources cited in this revision

1 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.