When a function in one class or module makes extensive use of functions and/or data from another class or module, so much so that it probably belongs there. Usually in an object-oriented design you want functions to live on the same class as the data they work with. Put together things that change together.
- This smell is included Martin Fowler's book "Refactoring", 2nd Edition
- This smell is included among wikipedia's code smells
Back to All Code Smells