Agile Glossary

AntiPattern

What is AntiPattern?

Antipatterns are common solutions to common problems where the solution is ineffective and may result in undesired consequences. An antipattern is different from bad practice when:

  • It is a common practice that initially looks like an appropriate solution but ends up having bad consequences that outweigh any benefits
  • There’s another solution that is known, repeatable, and effective.

The concept of antipatterns was inspired by the concept of design patterns, which indicate common effective solutions to common problems.

Antipatterns were initially applied in the context of software development, but have extended to other aspects of software engineering, organizations, and project management.

Coaches and consultants like to invoke antipatterns as a way of pointing out behavior they often see in teams they coach and as an avenue of suggesting better patterns.


Also Known As

The term has a variety of spellings which, at this writing, seem to be equally prevalent in use.  Those include anti patterns and anti-patterns.

These are also known as “bad ideas”, but antipattern is considered a kinder label.

Other terms used include code smells and design smells.


Origins

1995 Andrew Koenig originally coined the term antipattern in the March – April 1995 edition of the Journal of Object Oriented Program: “An antipattern is just like a pattern, except that instead of a solution it gives something that looks superficially like a solution, but isn’t one.”

1998 Linda Rising reprints Keonig’s definition of antipattern in the The patterns handbook: techniques, strategies, and applications.

1998 The book AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis popularized the term.


Further Reading

The Wikipedia entry on Anti-Patterns contains a list of commonly referenced antipatterns.

Template for describing antipatterns similar to the patterns template from the C2 Wiki

AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis by William J. Brown, Hays W. McCormick, Scott W. Thomas and Thomas J. Mowbray

AntiPatterns and Patterns in Software Configuration Management by William J. Brown, Hays W. McCormick, and Scott W. Thomas

AntiPatterns in Product Management by William J. Brown, Hays W. McCormick, and Scott W. Thomas

Add to Bookmarks Remove Bookmark
Add to Bookmarks Remove from Bookmarks
Add to Bookmarks Remove from Bookmarks

Thank you to our Annual Partners​

Join us today!

Agile Alliance offers many online and in-person events and workshops for our members. If you’re not currently a member, you can join now to take advantage of our many members-only resources and programs.

Get the latest Agile news!

  • This field is for validation purposes and should be left unchanged.

By subscribing, you acknowledge the Agile Alliance Privacy Policy, and agree to receive our emails.

Additional Agile Glossary Terms

An acceptance test is a formal description of the behavior of a software product, generally expressed as an example or a usage scenario. A number of different notations and approaches have been proposed for such examples or scenarios.
Test-driven development (TDD) is a style of programming where coding, testing, and design are tightly interwoven. Benefits include reduction in defect rates.
The team meets regularly to reflect on the most significant events that occurred since the previous such meeting, and identify opportunities for improvement.
A product backlog is a list of the new features, changes to existing features, bug fixes, infrastructure changes or other activities that a team may deliver in order to achieve a specific outcome.
An acceptance test is a formal description of the behavior of a software product, generally expressed as an example or a usage scenario. A number of different notations and approaches have been proposed for such examples or scenarios.
Test-driven development (TDD) is a style of programming where coding, testing, and design are tightly interwoven. Benefits include reduction in defect rates.
The team meets regularly to reflect on the most significant events that occurred since the previous such meeting, and identify opportunities for improvement.

Help us keep the definitions updated

Discover the many benefits of membership

Your membership enables Agile Alliance to offer a wealth of first-rate resources, present renowned international events, support global community groups, and more — all geared toward helping Agile practitioners reach their full potential and deliver innovative, Agile solutions.

Privacy Preference Center

Not yet a member? Sign up now