Primitive Obsession

This smell occurs when primitive data types are used where an abstraction encapsulating the primitives could serve better.

Related smells: Missing Abstraction

Reference

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


Design Smells

Home

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