next up previous
Next: Coupling Up: Cohesion and Coupling Previous: Cohesion and Coupling

Cohesion

There are eight types of cohesion as shown in Figure 12. Of the eight, five are considered acceptable:

tabular321

Unless there is strong reason to the contrary, functional cohesion should be the norm. This is especially important for the primitive routines. The classic example of functional cohesion is the original Lisp system.

   table331
Table 12: Cohesion Type Definitions



Steve Stevenson
Wed Feb 26 10:54:45 EST 1997