Skip to content

Glossary: Software Design Patterns in C++

Anti-pattern

Also written: anti-patterns, antipattern

A common answer to a design problem that looks reasonable but causes more trouble than it solves. Examples are the god object and magic numbers.

Where the book teaches it

Related terms

God objectSpaghetti codeGolden hammerMagic number