# Pattern Fever: When a Pattern Makes Code Worse

A pattern is a fix for a problem, so a pattern with no problem to fix (a factory for a factory, a strategy with one choice, an interface with one class that will never have another) is pure cost: more classes and more jumps for no change made easier; the cure is the simplest thing that works, and the pattern comes back when its problem does.

![Cheat sheet: Pattern Fever: When a Pattern Makes Code Worse](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/b54296f4bc5a48829bd072bd8b8e90fc.webp)

- Category: Data Structures
- Level: Journeyman
- Tags: Design Pattern, OOP, Over-Engineering, software-development, YAGNI
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-pattern-fever-cheat-sheet
