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?

Frequently Asked Questions

What does the "Feature Envy Vocabulary" vocabulary exercise cover?

This exercise tests real IT vocabulary related to feature envy vocabulary through 5 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.

Is this vocabulary exercise free to use?

Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.

How many questions does this exercise have?

This exercise has 5 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.