CSC/ECE 517 Summer 2008/wiki3 4 bk

From Expertiza_Wiki
Revision as of 23:16, 23 July 2008 by Brking (talk | contribs)
Jump to navigation Jump to search
    1. Cohesion Explained##

Cohesion is an element of object-oriented programming related to how well or how poorly a component of a program is compartmentalized. High cohesion is the preferable state in which a component's implementation and "awareness" is contained within the respective component. Low cohesion is the undesirable state in which the implementation crosses over the boundaries of the component into the rest of the program. In short, the component encapsulates its implementation.