© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. SarcarJava Design Patternshttps://doi.org/10.1007/978-1-4842-7971-7_29

29. Anti-Patterns

Vaskaran Sarcar1  
(1)
Garia, Kolkata, India
 

The discussion of design patterns is not complete without discussing anti-patterns. This chapter covers a brief overview of anti-patterns. Let’s start.

Overview

In real-world application development, some approaches are very attractive at the beginning, but in the long run, they create problems. Consider the case when you try to get a quick fix to meet a delivery deadline. If you are not aware of the potential pitfalls, you may pay a big penalty.

Anti-patterns alert you to common mistakes by describing how attractive approaches ...

Get Java Design Patterns: A Hands-On Experience with Real-World Examples now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.