Cohesion (computer science): Difference between revisions

Content deleted Content added
m High cohesion: tweak unreferenced -> refimprove as there is one reference
Yoderj (talk | contribs)
m Cut ", a different concept" as it was clearly implied by "contrasted with" and felt redundant and pedantic.
Line 5:
Cohesion is an [[level of measurement#Ordinal_scale|ordinal]] type of measurement and is usually described as “high cohesion” or “low cohesion”. Modules with high cohesion tend to be preferable, because high cohesion is associated with several desirable traits of software including [[Robustness (computer science)|robustness]], reliability, [[reusability]], and understandability. In contrast, low cohesion is associated with undesirable traits such as being difficult to maintain, test, reuse, or even understand.
 
Cohesion is often contrasted with [[coupling (computer science)|coupling]], a different concept. High cohesion often correlates with [[loose coupling]], and vice versa.<ref name="Ingeno_2018"/> The [[software metric]]s of coupling and cohesion were invented by [[Larry Constantine]] in the late 1960s as part of [[Structured Design]], based on characteristics of “good” programming practices that reduced maintenance and modification costs. Structured Design, cohesion and coupling were published in the article ''Stevens, Myers & Constantine'' (1974)<ref name="Stevens_1974"/> and the book ''Yourdon & Constantine'' (1979);<ref name="Yourdon_1979"/> the latter two subsequently became standard terms in [[software engineering]].
 
== High cohesion ==