SUPPORT THE WORK

GetWiki

Anti-pattern

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
Anti-pattern
[ temporary import ]
please note:
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki
{{Short description|Common response to a recurring problem that is usually ineffective or counterproductive}}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.{{sfn|Budgen|2003|p=225}}{{sfn|Ambler|1998|p=4}} 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.{{sfn|Neill|Laplante|DeFranco|2011|p=4}}A further paper in 1996 presented by Michael Ackroyd at the Object World West Conference also documented anti-patterns.{{sfn|Neill|Laplante|DeFranco|2011|p=4}}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.{{sfn|Neill|Laplante|DeFranco|2011|p=4}}Other authors have extended it further since to encompass environmental, organizational, and cultural anti-patterns.{{sfn|Neill|Laplante|DeFranco|2011|p=5}}

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:
  1. 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.
  2. 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.{{sfn|Neill|Laplante|DeFranco|2011|p=6}}

Uses

Documenting anti-patterns can be an effective way to analyze a problem space and to capture expert knowledge.{{sfn|Jimenez|2006}}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.{{sfn|Demeyer|2008|p=102}}

Software engineering anti-patterns

In software engineering, anti-patterns include the big ball of mud (lack of) design, the God Class (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).{{sfn|Demeyer|2008|p=102}}

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:{{bquote|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.|Brian Foote and Joseph Yoder|Big Ball of Mud. Fourth Conference on Patterns Languages of Programs (PLoP '97/EuroPLoP '97) Monticello, Illinois, September 1997}}Foote and Yoder have credited Brian Marick as the originator of the "big ball of mud" term for this sort of architecture.WEB, Foote, Brian, Yoder, Joseph,weblink Big Ball of Mud, laputan.org, 26 June 1999, 14 April 2019,

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), and e-mail Is Dangerous (situations resulting from ill-advised e-mail messages).{{sfn|Neill|Laplante|DeFranco|2011|p=5}}

See also

  • {{annotated link|Code smell}}
  • {{annotated link|Design smell}}
  • {{annotated link|Dark pattern}}
  • {{annotated link|List of software development philosophies}}
  • {{annotated link|List of tools for static code analysis}}
  • {{annotated link|Software rot}}
  • {{annotated link|Software Peter principle}}
  • {{annotated link|Capability Immaturity Model}}
  • {{annotated link|List_of_ISO_standards_28000–29999|ISO/IEC 29110}}: Software Life Cycle Profiles and Guidelines for Very Small Entities (VSEs)
  • {{annotated link|The Innovator's Dilemma}}

References

What supports what

{{Reflist|25em}}

Sources

  • BOOK, Antipatterns: Managing Software Organizations and People, second, Applied Software Engineering Series, Colin J., Neill, Philip A., Laplante, Joanna F., DeFranco, CRC Press, 2011, 9781439862162,
  • BOOK, Budgen, D., Software design, 2003, Addison-Wesley, Harlow, Eng., 0-201-72219-4, 225,weblink "As described in Long (2001), design anti-patterns are 'obvious, but wrong, solutions to recurring problems'.",
  • BOOK, Scott W., Ambler, Scott W. Ambler, Process patterns: building large-scale systems using object technology, 1998, Cambridge University Press, Cambridge, UK, 0-521-64568-9, 4,weblink "...common approaches to solving recurring problems that prove to be ineffective. These approaches are called antipatterns.",
  • WEB, Jimenez, Edward, 2006-04-24, AntiPatterns,weblink AntiPatterns, 24 April 2006,
  • BOOK, Software Evolution, Tom, Mens, Serge, Demeyer, Springer Science + Business Media, 2008, 9783540764403, ObjectOriented Reengineering, Serge, Demeyer,

Further reading

  • JOURNAL, Patterns and Antipatterns, Journal of Object-Oriented Programming, March–April 1995, Andrew, Koenig, 8, 1, 46–48,
    • Later re-printed in: BOOK, Rising, Linda, The patterns handbook: techniques, strategies, and applications, 1998, Cambridge University Press, Cambridge, U.K., 0-521-64818-1, 387,weblink "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.",
  • BOOK, Laplante, Phillip A., Neill, Colin J., 2005, Antipatterns: Identification, Refactoring and Management, Auerbach Publications, 0-8493-2994-9,
  • BOOK, Brown, William J., Malveau, Raphael C., McCormick, Hays W., Thomas, Scott W., Hudson, Theresa Hudson, Anti-Patterns in Project Management, John Wiley & Sons, 2000, 0-471-36366-9,
  • JOURNAL, Journal of Systems and Software, 83, 1, January 2010, 52–59, Software project management anti-patterns, Ioannis, Stamelos, 10.1016/j.jss.2009.09.016,

External links

{{Commons category|Anti-patterns}} {{Authority control}}

- content above as imported from Wikipedia
- "Anti-pattern" does not exist on GetWiki (yet)
- time: 5:52pm EDT - Wed, May 01 2024
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 23 MAY 2022
GETWIKI 09 JUL 2019
Eastern Philosophy
History of Philosophy
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
CONNECT