The discussion of design patterns cannot be completed without antipatterns. This chapter briefly overviews antipatterns. Let’s start.
What Is an Antipattern?
In real-world application development, you may follow approaches that are very attractive at first, but in the long run, they cause problems. For example, you try to do a quick fix to meet a delivery deadline, but if you are not aware of the potential pitfalls, you may pay a big price.
Antipatterns alert you about common mistakes that lead to a bad solution. Knowing them helps you take precautionary measures. ...