antipattern is mentioned in the
). This can be commonly found in teams that use
languages such as
, but the architecture is procedural in nature.
Such systems usually have a few classes (Blobs) that have hundreds of methods and variables and encapsulate all the logic that the entire program needs. The rest of the system is littered with many dumb objects.
For more details, visit
In my experience, there are two common kinds of
objects - the BaseBlob
and the BlobController
. The former is a weak and naive attempt at Object Orientation and usually involves a base class that is a blob and hundreds of subclasses with little content. I have worked in a place where there were three blobs - one for the UI, one for the business logic and one for the database access. These three classes constituted ~80% of the total logic in the system.
The second kind (BlobController
) is found in systems with many, interrelated objects. Here, all such objects are dumbed down and the BlobController
antipattern is probably a
implementation gone wrong. Sometimes, it can be fixed by using the
antipattern can usually be fixed by proper use of delegation, interface inheritance and patterns such as
View edit of
September 24, 2010
with title or text search