Interface bloat
In software design, interface bloat (also called fat interfaces by Bjarne Stroustrup and Refused Bequests by Martin Fowler) is when a computer interface incorporates too many operations on some data into an interface, only to find that most of the objects cannot perform the given operations.
One might consider using visitor pattern, Adapter Pattern, or interface segregation instead.
Interface bloat is an example of an anti-pattern.
This article is issued from Wikipedia - version of the 9/1/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.