encyclopegia.org

Anti-pattern

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.

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. ==Examples== ===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 ==References== ===What supports what=== ==Further reading== Later re-printed in: ==External links== Anti-pattern at WikiWikiWeb

References

  1. DECOR: A Method for the Specification and Detection of Code and Design Smells · retrieved 2026-11-20 · rev 1376517271
    Cite this reference

    MLA "DECOR: A Method for the Specification and Detection of Code and Design Smells." Moha, Naouel; Gueheneuc, Yann-Gael; Duchien, Laurence; Le Meur, Anne-Francoise (2010). 2026-11-20. https://ieeexplore.ieee.org/document/5196681/. Accessed 24 November 2026.

    Chicago "DECOR: A Method for the Specification and Detection of Code and Design Smells." Moha, Naouel; Gueheneuc, Yann-Gael; Duchien, Laurence; Le Meur, Anne-Francoise (2010). 2026-11-20. https://ieeexplore.ieee.org/document/5196681/.

    APA Moha, Naouel; Gueheneuc, Yann-Gael; Duchien, Laurence; Le Meur, Anne-Francoise (2010). (2026). DECOR: A Method for the Specification and Detection of Code and Design Smells. Retrieved November 24, 2026, from https://ieeexplore.ieee.org/document/5196681/

  2. Ambler 1998 , p. 4. Wikipedia revision 1376517271, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376517271
    Cite this reference

    MLA "Ambler 1998 , p. 4. Wikipedia revision 1376517271, retrieved 2026-11-21." Ambler 1998 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271. Accessed 24 November 2026.

    Chicago "Ambler 1998 , p. 4. Wikipedia revision 1376517271, retrieved 2026-11-21." Ambler 1998 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271.

    APA Ambler 1998 , p. (2026). Ambler 1998 , p. 4. Wikipedia revision 1376517271, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376517271

  3. Budgen 2003 , p. 225. Wikipedia revision 1376517271, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376517271
    Cite this reference

    MLA "Budgen 2003 , p. 225. Wikipedia revision 1376517271, retrieved 2026-11-21." Budgen 2003 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271. Accessed 24 November 2026.

    Chicago "Budgen 2003 , p. 225. Wikipedia revision 1376517271, retrieved 2026-11-21." Budgen 2003 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271.

    APA Budgen 2003 , p. (2026). Budgen 2003 , p. 225. Wikipedia revision 1376517271, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376517271

  4. a b Demeyer 2008 , p. 102. Wikipedia revision 1376517271, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376517271
    Cite this reference

    MLA "a b Demeyer 2008 , p. 102. Wikipedia revision 1376517271, retrieved 2026-11-21." a b Demeyer 2008 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271. Accessed 24 November 2026.

    Chicago "a b Demeyer 2008 , p. 102. Wikipedia revision 1376517271, retrieved 2026-11-21." a b Demeyer 2008 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271.

    APA a b Demeyer 2008 , p. (2026). a b Demeyer 2008 , p. 102. Wikipedia revision 1376517271, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376517271

  5. Jimenez 2006 . Wikipedia revision 1376517271, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376517271
    Cite this reference

    MLA "Jimenez 2006 . Wikipedia revision 1376517271, retrieved 2026-11-21." Jimenez 2006. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271. Accessed 24 November 2026.

    Chicago "Jimenez 2006 . Wikipedia revision 1376517271, retrieved 2026-11-21." Jimenez 2006. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271.

    APA Jimenez 2006. (2026). Jimenez 2006 . Wikipedia revision 1376517271, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376517271

  6. a b c Neill, Laplante & DeFranco 2011 , p. 4. Wikipedia revision 1376517271, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376517271
    Cite this reference

    MLA "a b c Neill, Laplante & DeFranco 2011 , p. 4. Wikipedia revision 1376517271, retrieved 2026-11-21." a b c Neill, Laplante & DeFranco 2011 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271. Accessed 24 November 2026.

    Chicago "a b c Neill, Laplante & DeFranco 2011 , p. 4. Wikipedia revision 1376517271, retrieved 2026-11-21." a b c Neill, Laplante & DeFranco 2011 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271.

    APA a b c Neill, Laplante & DeFranco 2011 , p. (2026). a b c Neill, Laplante & DeFranco 2011 , p. 4. Wikipedia revision 1376517271, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376517271

  7. a b Neill, Laplante & DeFranco 2011 , p. 5. Wikipedia revision 1376517271, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376517271
    Cite this reference

    MLA "a b Neill, Laplante & DeFranco 2011 , p. 5. Wikipedia revision 1376517271, retrieved 2026-11-21." a b Neill, Laplante & DeFranco 2011 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271. Accessed 24 November 2026.

    Chicago "a b Neill, Laplante & DeFranco 2011 , p. 5. Wikipedia revision 1376517271, retrieved 2026-11-21." a b Neill, Laplante & DeFranco 2011 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271.

    APA a b Neill, Laplante & DeFranco 2011 , p. (2026). a b Neill, Laplante & DeFranco 2011 , p. 5. Wikipedia revision 1376517271, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376517271

  8. Neill, Laplante & DeFranco 2011 , p. 6. Wikipedia revision 1376517271, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1376517271
    Cite this reference

    MLA "Neill, Laplante & DeFranco 2011 , p. 6. Wikipedia revision 1376517271, retrieved 2026-11-21." Neill, Laplante & DeFranco 2011 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271. Accessed 24 November 2026.

    Chicago "Neill, Laplante & DeFranco 2011 , p. 6. Wikipedia revision 1376517271, retrieved 2026-11-21." Neill, Laplante & DeFranco 2011 , p. 2026-11-20. https://en.wikipedia.org/w/index.php?oldid=1376517271.

    APA Neill, Laplante & DeFranco 2011 , p. (2026). Neill, Laplante & DeFranco 2011 , p. 6. Wikipedia revision 1376517271, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376517271

  9. Moha, Naouel. DECOR: A Method for the Specification and Dete . · retrieved 2026-09-23 · rev 1376517271
    Cite this reference

    MLA "Moha, Naouel. DECOR: A Method for the Specification and Dete ." Moha, Naouel. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376517271. Accessed 24 November 2026.

    Chicago "Moha, Naouel. DECOR: A Method for the Specification and Dete ." Moha, Naouel. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376517271.

    APA Moha, Naouel. (2026). Moha, Naouel. DECOR: A Method for the Specification and Dete . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376517271

Cite this article

MLA

"Anti-pattern." encyclopegia.org, 2026, https://encyclopegia.org/wiki/anti-pattern. Accessed 24 November 2026.

Chicago

"Anti-pattern." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/anti-pattern.

APA

encyclopegia.org. (2026). Anti-pattern. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/anti-pattern

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

bridge pattern

stub · references available

proactor pattern

stub · references available

anti-federalism

stub · references available

Anti-shock body

stub · references available

abstract factory pattern

stub · references available

Anti-Italianism

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1376517271 · 0.5 · snapshot enwiki-001376517271

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.