DEV Community

Cover image for Code Smell 63 - Feature Envy
Maxi Contieri
Maxi Contieri

Posted on • Updated on • Originally published at maximilianocontieri.com

Code Smell 63 - Feature Envy

If your method is jealous and don't trust in delegation, you should start to do it.

TL;DR: Don't abuse your friend objects.

Problems

  • Coupling