Swiss Army Knife

This smell arises when the designer attempts to provide all possible uses of the class and ends up in an excessively complex class interface.

Related smells: Multifaceted Abstraction Insufficient Modularization

Reference

W. Brown, R. Malveau, H. McCormick, T. Mowbray, “AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis”. John Wiley & Sons, 1998.


Design Smells

Home

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