ArticleslgStudy

computer science

AntiPatterns

AntiPatterns is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AntiPatterns rather than just read about it. In short: AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis is a book about anti-patterns: specific repeated practices in software architecture, software design and software project management that initially appear to be beneficial, but ultimately result in bad consequences that outweigh hoped-for advantages. This study covers several recurring problematic software-related patterns, the forces that ins…

AntiPatterns — main illustration
AntiPatterns — illustration

Key takeaways

  • AntiPatterns belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AntiPatterns to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AntiPatterns from memory before moving on to harder problems.

Reference excerpt

AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis is a book about anti-patterns: specific repeated practices in software architecture, software design and software project management that initially appear to be beneficial, but ultimately result in bad consequences that outweigh hoped-for advantages. This study covers several recurring problematic software-related patterns, the forces that inspire their repeated adoption, and proven-in-practice remedial actions, called refactored solutions. The authors are William Brown, Raphael Malveau, Skip McCormick, and Tom Mowbray; with Scott Thomas joining in on second and third books. Four of the five authors worked together at Mitre Corporation in the late 1990s. Sometimes referred to as an "Upstart Gang-Of-Four" the authors were frequently (and often unfavorably) compared to the original Design Patterns by Gang of Four. This began with a favorable review and 1998 runner-up Jolt Productivity Award given by Software Development magazine. The controversy around this book, and the concept of an anti-pattern has been said to stem from a somewhat common misunderstanding that the authors were somehow opposed to design patterns. However the authors explained within the book itself that they are big fans of design patterns; their objective was to build on the concept by providing constructive means for dealing with the frequent "patterns of failure" they had professionally dealt with.

Reviews J. Moore (1999-02-01). "AntiPatterns". ACM Computing Reviews. Association for Computing Machinery. Reviewed in C/C++ Users Journal July 1998 v16 n7 p63(2) by Marc Briand July 1998/AntiPatterns - Refactoring Software, Architectures, and Projects in Crisis

References

External links AntiPatterns.com A web site maintained by the authors with several patterns defined and other related articles. Anti Patterns Book at WikiWikiWeb

Worked examples

Example 1 — a first encounter with AntiPatterns

Start with the simplest possible case. Write down what AntiPatterns claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AntiPatterns before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AntiPatterns ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AntiPatterns

In research
AntiPatterns appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AntiPatterns in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AntiPatterns is common in secondary-school and first-year university syllabi. It links to neighbouring topics Software development books, Software engineering books, so understanding it makes those chapters shorter.
In everyday life
Look for AntiPatterns outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AntiPatterns” →

How to study AntiPatterns in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AntiPatterns means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AntiPatterns out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AntiPatterns in simple terms?

AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis is a book about anti-patterns: specific repeated practices in software architecture, software design and software project management that initially appear to be beneficial, but ultimately result in bad consequences that outwe…

Why does AntiPatterns matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AntiPatterns?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AntiPatterns.

Tags

  • Software development books
  • Software engineering books

Keep exploring