We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is an Antipattern?

By Leo Zimmermann
Updated: May 16, 2024
Views: 6,337
Share

An antipattern is any activity that gets repeated despite being counterproductive. Although the term originated and gained widespread use in the field of computer programming, it can apply to any form of routine behavior. Identifying and describing antipatterns can improve overall rationality by making common mistakes in reasoning easier to spot. In this sense, the antipattern is to general rationality as the fallacy is to deductive logic.

For a batch of code or a set of behaviors to constitute an antipattern, it must occur repeatedly. It must also, for some observer, be contrasted with a known pattern that would almost certainly work better. Isolated mistakes can thus not be antipatterns, and neither can failed attempts to solve a problem for which no solution yet exists. This definition still leaves room for a large range of faulty processes.

Even within the original category of software design, there are many different types of antipattern. Some involve failures to anticipate user reactions. "Interface bloat" and "Creeping Featuritis"—almost all antipatterns have been given cute names—refer to a program with a user interface so complicated it becomes unmanageable.

Other antipatterns involve typical programming mistakes. "Copy and Paste Programming" and "Cargo Cult Programming" describe situations in which programmers rely too heavily on pre-existing material instead of tailoring their code to the program they are currently developing. "God Class" is a set of objects within a program that have become too powerful; the whole thing is vulnerable because everything relies on these elements.

Many antipatterns have also been identified within the corporate world, particularly as a context for software development. "Specify Nothing" and "Vietnam War" involve failures of clarity in the management's instructions to their employees. "We Are Idiots" involves making the assumption that customers, and not programmers, must make every decision about how a particular item is developed.

Other antipatterns can apply to many types of organizational sociology. "Groupthink" is taking place whenever a set of people are able to sustain a collective delusion by insulating themselves from outside input. A "Death March" occurs when everyone working on a particular project knows that failure is inevitable but does not or cannot communicate this information to a powerful leader. "If It Ain't Broke, Don't Fix It" is a piece of conventional wisdom that may be an antipattern in contexts where an eventual breakdown would be unacceptable.

Share
EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
Share
https://www.easytechjunkie.com/what-is-an-antipattern.htm
Copy this link
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.