Coupling (computer programming): Difference between revisions

Content deleted Content added
High / low coupling: renaming section to "Low coupling"
Low coupling: change order form high/low to low/high
Line 4:
 
== Low coupling ==
Coupling can be "highlow" (oralso "tightloose"), or "lowhigh" (oralso "loosetight"). Low coupling means that one module does not have to be concerned with the internal implementation of another module, and interacts with another module with a stable interface (see [[Information hiding]]). With low coupling, a change in one module will not require a change in the implementation of another module. Low coupling is a sign of a well structured [[computer system]].
 
However, in order to achieve maximum efficiency, a highly coupled system is probably needed. In modern computing systems, performance can often be traded for lower coupling; the gains in the [[software development]] process are greater than the value of the running performance gain.