July 13, 2010

...Learn TDD with Codemanship

Codemanship's Code Smell Of The Week - Feature Envy

When 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 10 years, 5 months ago on July 13, 2010