Refused Bequest

This smell occurs when a subclass rejects some of the methods or properties offered by its superclass.

Related smells: Rebellious Hierarchy

Reference

M. Fowler, “Refactoring: Improving the Design of Existing Code”. Addison-Wesley, 1999.


Design Smells

Home

All rights reserved (c) Tushar Sharma 2017-23.