Skip to content

Glossary: Software Design Patterns

Fragile base class

A parent class that its children depend on so closely that changing it quietly breaks them. Adding sales tax to `Product.total` would also tax wholesale products.

Where the book teaches it

Related terms

InheritanceClass explosion