- Source: Anti-pattern
An anti-pattern in software engineering, project management, and business processes is a common response to a recurring problem that is usually ineffective and risks being highly counterproductive. The term, coined in 1995 by computer programmer Andrew Koenig, was inspired by the book Design Patterns (which highlights a number of design patterns in software development that its authors considered to be highly reliable and effective) and first published in his article in the Journal of Object-Oriented Programming.
A further paper in 1996 presented by Michael Ackroyd at the Object World West Conference also documented anti-patterns.
It was, however, the 1998 book AntiPatterns that both popularized the idea and extended its scope beyond the field of software design to include software architecture and project management.
Other authors have extended it further since to encompass environmental, organizational, and cultural anti-patterns.
Definition
According to the authors of Design Patterns, there are two key elements to an anti-pattern that distinguish it from a bad habit, bad practice, or bad idea:
The anti-pattern is a commonly-used process, structure or pattern of action that, despite initially appearing to be an appropriate and effective response to a problem, has more bad consequences than good ones.
Another solution exists to the problem the anti-pattern is attempting to address. This solution is documented, repeatable, and proven to be effective where the anti-pattern is not.
A guide to what is commonly used is a "rule-of-three" similar to that for patterns: to be an anti-pattern it must have been witnessed occurring at least three times.
Uses
Documenting anti-patterns can be an effective way to analyze a problem space and to capture expert knowledge.
While some anti-pattern descriptions merely document the adverse consequences of the pattern, good anti-pattern documentation also provides an alternative, or a means to ameliorate the anti-pattern.
Software engineering anti-patterns
In software engineering, anti-patterns include the big ball of mud (lack of) design, the god object (where a single class handles all control in a program rather than control being distributed across multiple classes), magic numbers (unique values with an unexplained meaning or multiple occurrences which could be replaced with a named constant), and poltergeists (ephemeral controller classes that only exist to invoke other methods on classes).
= Big ball of mud
=This indicates 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 code entropy.
The term was popularized in Brian Foote and Joseph Yoder's 1997 paper of the same name, which defines the term:
A Big Ball of Mud is a haphazardly structured, sprawling, sloppy, duct-tape-and-baling-wire, spaghetti-code jungle. These systems show unmistakable signs of unregulated growth, and repeated, expedient repair. Information is shared promiscuously among distant elements of the system, often to the point where nearly all the important information becomes global or duplicated.
The overall structure of the system may never have been well defined.
If it was, it may have eroded beyond recognition. Programmers with a shred of architectural sensibility shun these quagmires. Only those who are unconcerned about architecture, and, perhaps, are comfortable with the inertia of the day-to-day chore of patching the holes in these failing dikes, are content to work on such systems.
Foote and Yoder have credited Brian Marick as the originator of the "big ball of mud" term for this sort of architecture.
Project management anti-patterns
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 (similarly, too much 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
Code smell – Computer programming characteristic
Design smell – Term in computer programming
Dark pattern – Deceptive user interface designs
List of software development philosophies
List of tools for static code analysis
Software rot – Process of software deterioration
Software Peter principle – Engineering term for a complex, failing project
Capability Immaturity Model
ISO/IEC 29110: Software Life Cycle Profiles and Guidelines for Very Small Entities (VSEs)
The Innovator's Dilemma – 1997 book by Clayton M. Christensen
References
= What supports what
== Sources
=Further reading
Koenig, Andrew (March–April 1995). "Patterns and Antipatterns". Journal of Object-Oriented Programming. 8 (1): 46–48.
Later re-printed in: Rising, Linda (1998). The patterns handbook: techniques, strategies, and applications. Cambridge, U.K.: Cambridge University Press. p. 387. ISBN 0-521-64818-1. 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.
Laplante, Phillip A.; Neill, Colin J. (2005). Antipatterns: Identification, Refactoring and Management. Auerbach Publications. ISBN 0-8493-2994-9.
Brown, William J.; Malveau, Raphael C.; McCormick, Hays W.; Thomas, Scott W. (2000). Hudson, Theresa Hudson (ed.). Anti-Patterns in Project Management. John Wiley & Sons. ISBN 0-471-36366-9.
Stamelos, Ioannis (January 2010). "Software project management anti-patterns". Journal of Systems and Software. 83 (1): 52–59. doi:10.1016/j.jss.2009.09.016.
External links
Anti-pattern at WikiWikiWeb
Kata Kunci Pencarian:
- Daftar senjata infanteri pada Perang Dunia II
- Bharat Dynamics Limited
- Remove Kebab
- Sistem imun
- Lie Tek Tjeng
- KRI Irian (201)
- High-explosive incendiary
- Ban
- Matematika
- WordPress
- Anti-pattern
- Singleton pattern
- AntiPatterns
- Software design pattern
- Service locator pattern
- Dark pattern
- Design pattern
- Poltergeist (computer programming)
- Workaround
- Balking pattern