July 13, 2010
Codemanship's Code Smell Of The Week - Feature EnvyWhen a method on one class develops an unhealthy fascination with the features of one of its collaborators, this creates unnecessarily high coupling and is an indicator that this behaviour really belongs on the collaborating class.
Download the source code from http://bit.ly/9Dve0G
For training and coaching in refactoring, TDD and OO design, visit http://www.codemanship.com
Posted 8 years, 4 months ago on July 13, 2010