IntermediateVocabulary#software-architecture#backend#developer-tools

Feature Envy Vocabulary

Build fluency in the vocabulary of a method that reaches into another class's data more than its own.

0 / 5 completed
1 / 5
At standup, a dev mentions a method in a Cart class that repeatedly reaches into a Customer object's internal fields to compute a loyalty discount, using far more of the Customer's data than anything belonging to Cart itself. What is this code smell called?