Feature Envy

This smell occurs when a method seems more interested in a class other than the one it actually is in.

Reference

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


Design Smells

Home