Coupling (computer programming): Difference between revisions

Content deleted Content added
Low-Coupling / High-Cohesion pattern: removed link to "pattern", adjusted link to "design pattern"
Low-Coupling / High-Cohesion pattern: removed "In computer science," (not needed)
Line 28:
 
== Low-Coupling / High-Cohesion pattern ==
In computer science, theThe Low-Coupling / High-Cohesion isn't a specific pattern amongst [[design pattern (computer science)|design pattern]]s. It's a general [[method]] for structuring [[Computer program|program]]s so that they're simpler to understand, program and maintain.
 
These concepts (Low-Coupling / High-Cohesion) are usually related. Low coupling implies high cohesion and viceversa, because if we put together all relationed methods (High Cohesion), the connection between classes tends to get lower (Low Coupling).