Middle Man

This smell occurs when a class is used as a middleman to merely delegate the messages from clients to classes that are implementing some useful functionality without contributing anything to the application.

Reference

M. Fowler, “Refactoring: Improving the Design of Existing Code”. Addison-Wesley, 1999.


Design Smells

Home

All rights reserved (c) Tushar Sharma 2017-23.