Interface bloat
Appearance
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
|
![](http://upload.wikimedia.org/wikipedia/commons/thumb/6/6f/Interface_Bloat_Example.png/315px-Interface_Bloat_Example.png)
In software design, interface bloat (also called fat interfaces by Bjarne Stroustrup and Refused Bequests by Martin Fowler) is when an interface incorporates too many operations on some data into an interface, only to find that most of the objects cannot perform the given operations.
Interface bloat is an example of an anti-pattern. One might consider using visitor pattern, Adapter Pattern, or interface segregation instead.
References
[edit]