Skip to content

Glossary: Software Design Patterns in C++

Fragile base class

The problem that a change to a parent class quietly breaks its children. Adding sales tax to `Product::total` would also tax tax-free wholesale products.

Where the book teaches it

Related terms

Class explosionComposition