The Trouble with Derivation

[magazine]
Volume-Issue: 
2009-03
Article Summary: 

This article discusses the dark underbelly of derivation: the fragile base class. It's possible to modify a base class in such a way that, even though you've improved its implementation and all your tests work just fine, you've nonetheless damaged the derived classes, perhaps fatally.