Skip navigation.

Codemanship's Code Smell Of The Week - Inappropriate Intimacy

Codemanship's Code Smell Of The Week - Inappropriate Intimacy

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.