Coupling (computer programming): Difference between revisions

Content deleted Content added
m Added links
Tags: Mobile edit Mobile app edit iOS app edit
Tags: Reverted Visual edit
Line 61:
 
== Solutions ==
One approach to decreasing coupling is [[functional design]], which seeks to limit the responsibilities of modules along functionality. Coupling increases between two classes '''''A''''' and '''''B''''' if: ,
 
*'''''A''''' has an attribute that refers to (is of type) '''''B'''''.