GRASP (object-oriented design): Difference between revisions

Content deleted Content added
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.8.6
No edit summary
Line 66:
===High cohesion===
{{main|Cohesion (computer science)}}
'''High cohesion''' is an evaluative pattern that attempts to keep objects appropriately focused, manageable and understandable. High cohesion is generally used in support of low coupling. High cohesion means that the responsibilities of a given elementset of elements are strongly related and highly focused on a rather specific topic. Breaking programs into classes and subsystems, if correctly done, is an example of activities that increase the cohesive properties of anamed systemclasses and subsystems. Alternatively, low cohesion is a situation in which a givenset elementof elements, of e.g., a subsystem, has too many unrelated responsibilities. ElementsSubsystems with low cohesion between their constituent elements often suffer from being hard to comprehend, reuse, maintain and change as a whole.<ref name="Larman2004"/>{{rp|314–315}}
 
===Polymorphism===