ArticleslgStudy

computer science

List of software anti-patterns

List of software anti-patterns 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 List of software anti-patterns rather than just read about it. In short: Anti-patterns are commonly used ways of doing software engineering that are not useful or cause more issues than they solve. See software design patterns for the opposite.

Key takeaways

  • List of software anti-patterns 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 List of software anti-patterns to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of List of software anti-patterns from memory before moving on to harder problems.

Reference excerpt

Anti-patterns are commonly used ways of doing software engineering that are not useful or cause more issues than they solve. See software design patterns for the opposite. There are many diverse types of software anti-patterns. Some relate to software design, object-oriented programming, computer programming, methodological, configuration management, DevOps, and other aspects of software engineering. Several books have popularized the idea and teaching of anti-patterns. Anti-patterns can be found in anything that has organization, from project management to cultures, but this list focuses solely on software and computer science anti-patterns.

Generic software design anti-patterns Abstraction inversion – Computer programming anti-pattern Ambiguous viewpoint – Lack of clarity during software design Big ball of mud – Software source code with poor structurePages displaying short descriptions of redirect targets Database-as-IPC – Misusing databases for temporary messages Inner-platform effect – Tendency of software architects to replicate their development platform Input kludge Interface bloat – Overload of elements on an interface Magic pushbutton – Common anti-pattern in graphical user interfaces Race hazard – When a system's behavior depends on timing of uncontrollable eventsPages displaying short descriptions of redirect targets Stovepipe system – Isolated IT system

Object-oriented anti-patterns Anemic domain model – Programming anti-pattern Call super – Anti-pattern in object-oriented programming Circle–ellipse problem – Subtype polymorphism problem in object-oriented programming Circular dependency – Problematic interdependence of software modules Constant interface God object – Large or very powerful object in programming Object cesspool – Software creational design patternPages displaying short descriptions of redirect targets Object orgy – Allowing excessive access to object data Poltergeist Sequential coupling – Design issue in object-oriented programming Yo-yo problem – Symptom of over-complex software design

Programming anti-patterns Accidental complexity – 1986 paper on software project managementPages displaying short descriptions of redirect targets Action at a distance Boat anchor Busy waiting – Continuously checking a condition in computing Caching failure – Cache used to remember failed or missing responsesPages displaying short descriptions of redirect targets Cargo cult programming – Ritual inclusion of unnecessary computer code Coding by exception Error hiding – Failing to report details of an error Hard code – Putting data in the source code of a programPages displaying short descriptions of redirect targets Lasagna code Lava flow Loop-switch sequence Magic numbers Magic strings Repeating yourself Shotgun surgery – Anti-pattern in software development Soft code Spaghetti code – Software source code with poor structure

Methodological anti-patterns Copy and paste programming Golden hammer Shooting the messenger – Metaphor referring to blaming the carrier of unwelcome information Not invented here or (NIH) syndrome Premature optimization Programming by permutation (or "programming by accident", or "programming by coincidence") Reinventing the square wheel – Idiomatic expression, meaning to waste effort on something that has already been achievedPages displaying short descriptions of redirect targets Silver bullet Tester-driven development – Software development process

Configuration management anti-patterns Dependency hell – Software requiring many conflicting dependencies DLL hell – Computing slang Extension conflict JAR hell – Java Runtime Environment element which loads Java .class filesPages displaying short descriptions of redirect targets

See also

List of software architecture styles and patterns Software design pattern Anti-pattern AntiPatterns (book)

References

Worked examples

Example 1 — a first encounter with List of software anti-patterns

Start with the simplest possible case. Write down what List of software anti-patterns 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 List of software anti-patterns 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 List of software anti-patterns 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 List of software anti-patterns

In research
List of software anti-patterns 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 List of software anti-patterns 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
List of software anti-patterns is common in secondary-school and first-year university syllabi. It links to neighbouring topics Anti-patterns, Object-oriented programming, Software design patterns, so understanding it makes those chapters shorter.
In everyday life
Look for List of software anti-patterns 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 “List of software anti-patterns” →

How to study List of software anti-patterns in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what List of software anti-patterns 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 List of software anti-patterns out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is List of software anti-patterns in simple terms?

Anti-patterns are commonly used ways of doing software engineering that are not useful or cause more issues than they solve. See software design patterns for the opposite.

Why does List of software anti-patterns 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 List of software anti-patterns?

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 List of software anti-patterns.

Tags

  • Anti-patterns
  • Object-oriented programming
  • Software design patterns

Keep exploring