Feature-Envy

Feature Envy

A method that keeps reaching into another class's data wishes it lived somewhere else. Learn to spot Feature Envy and fix it with Move Method: put behavior next to the data it uses.

November 24, 202611 minutes