God Class

One Class to rule them all, and in the darkness bind them.

The "God Class" problem is described on page 32 of Arthur Riel's excellent "ObjectOrientedDesignHeuristics". A "God Class" is an object that controls way too many other objects in the system and has grown beyond all logic to become The Class That Does Everything.

It is a form of the MediatorPattern, misapplied.


CategoryAntiPattern, GodTable, GodMethod

EditText of this page (last edited July 23, 2008)
FindPage by searching (or browse LikePages or take a VisualTour)