Chapter 11Anti-patterns

We’re all familiar with patterns—solutions to common problems that arise again and again.

Anti-patterns are the dark side of patterns—common mistakes we fall into repeatedly. Sometimes they seem to be good solutions that experience has demonstrated don’t work in practice. On other occasions, we know that they’re not a good idea, but we fall into them anyway.

Forewarned is forearmed. Knowing about an anti-pattern is the first step toward avoiding it.

Get Debug It! 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.