Distribute system intelligence

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: Riel's heuristic #3.1 [[Distribute system intelligence|Distribute system intelligence horizontally as uniformly as possible, that is, the top-level classes in a design should share the wor...)
 
m (Reverted edits by Ebybymic (Talk); changed back to last version by Stephen Fitchett)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Riel's heuristic #3.1 [[Distribute system intelligence|Distribute system intelligence horizontally as uniformly as possible, that is, the top-level classes in a design should share the work uniformly]]
+
:''Distribute system intelligence horizontally as uniformly as possible, i.e. the top level classes in a design should share the work uniformly.'' --Riel's Heuristic 3.1, [[Arthur Riel 1996]]
 +
 
 
==Description==
 
==Description==
From chapter 3.3 of {{Ref|1}}, Riel describes the "god class problem":
+
From chapter 3.3 of [[Arthur Riel 1996]], Riel describes the "god class problem":
 
<blockquote>
 
<blockquote>
 
''The behavioral form of the god class problem is caused by a common error among action-oriented developers in the process of moving to the object-oriented paradigm. These developers attempt to capture the central control mechanism so prevalent in the action-oriented paradigm within their object-oriented design. The result is the creation of a god object that performs most of the work, leaving minor details to a collection of trivial classes. There are a number of heuristics that work together cooperatively toward the avoidance of these classes.''
 
''The behavioral form of the god class problem is caused by a common error among action-oriented developers in the process of moving to the object-oriented paradigm. These developers attempt to capture the central control mechanism so prevalent in the action-oriented paradigm within their object-oriented design. The result is the creation of a god object that performs most of the work, leaving minor details to a collection of trivial classes. There are a number of heuristics that work together cooperatively toward the avoidance of these classes.''
 
</blockquote>
 
</blockquote>
Riel then states the following heuristics:
+
 
*[[Distribute system intelligence|Distribute system intelligence horizontally as uniformly as possible, that is, the top-level classes in a design should share the work uniformly]]
+
This heuristic follows from that.
==References==
+
 
#{{Note|1}} Riel, A. J. 1996 ''Object-Oriented Design Heuristics.'' 1st. Addison-Wesley Longman Publishing Co., Inc.
+
[[Category:Riel's heuristics]]

Latest revision as of 03:10, 25 November 2010

Distribute system intelligence horizontally as uniformly as possible, i.e. the top level classes in a design should share the work uniformly. --Riel's Heuristic 3.1, Arthur Riel 1996

Description

From chapter 3.3 of Arthur Riel 1996, Riel describes the "god class problem":

The behavioral form of the god class problem is caused by a common error among action-oriented developers in the process of moving to the object-oriented paradigm. These developers attempt to capture the central control mechanism so prevalent in the action-oriented paradigm within their object-oriented design. The result is the creation of a god object that performs most of the work, leaving minor details to a collection of trivial classes. There are a number of heuristics that work together cooperatively toward the avoidance of these classes.

This heuristic follows from that.

Personal tools