GRASP (object-oriented design): Difference between revisions

Content deleted Content added
Undid revision 1046981629 by 2001:6B0:29:211:0:0:0:203 (talk)
High cohesion: Removed ref fragment
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 element are strongly related and highly focused. Breaking programs into classes and subsystems is an example of activities that increase the cohesive properties of a system. Alternatively, low cohesion is a situation in which a given element has too many unrelated responsibilities. Elements with low cohesion often suffer from being hard to comprehend, reuse, maintain and change.<ref name="Larman2004"/>{{rp|314–315}}</ref>
 
===Polymorphism===