Speculative Generality

This smell occurs where an abstraction is created based on speculated requirements. It is often unnecessary that makes things difficult to understand and maintain.

Related smells: Unutilized Abstraction Speculative Hierarchy


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

Design Smells


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