Codemanship's Code Smell Of The Week - Inappropriate Intimacy
Codemanship's Code Smell Of The Week - Inappropriate Intimacy
Submitted by jason@parlezuml.com (Jason Gorman) on Mon, 19/07/2010 - 12:25.When two classes exhibit an unhealthy fascination with each other's bits, we call the Inappropriate Intimacy. It's essentially bi-directional feature envy. In this video, Jason Gorman demonstrates hot to change a bi-directional relationship into a uni-directional relationship and eliminate the feature envy on both sides.
