A code smell wherein an object appears to be envious of another object. This usually takes the form of methods which spend more time referencing the envied object’s methods and properties than they do referencing method and properties of self
.
Tag: feature envy
Episode #498: Query to Command
"Tell, don't ask" is easy to say, but how do you actually put it into practice?
Episode #321: Smart Collection
In today's episode, we rethink how we look at collections of objects.
Episode #087: Naming Things: Headcount
Naming things is hard, and it's difficult to come up with hard-and-fast rules for it. But it can be helpful to learn from examples of real-world naming decisions that led …