Plurrrr

Thu 08 Aug 2019

Six Shades of Coupling

[W]e should pursue loose coupling, so one would be able to easily analyze/debug/maintain any class, without detailed knowledge about other classes within the system. The looser the coupling is, the more independent the classes are.

In the evening I read Six Shades of Coupling, an article by Mr. Picky.

The six types of coupling from those considered as the least to those that are the most welcome are:

  • Content Coupling,
  • Common Coupling,
  • External Coupling,
  • Control Coupling,
  • Stamp Coupling, and Data Coupling

A recommended read.