Object Oriented Software Engineering   View all facts   Glossary   Help
subject > criterion > quality > software quality > coupling > type use coupling
Next couplingcommon coupling    Upcoupling    Previous couplingtight coupling   

type use coupling
subjectfact 
type use couplingcan be reduced by
  • ensuring that a class is only type-coupled to classes in a relatively small number of packages
  • declaring the type of a variable to be the most general possible class or interface that contains the required operations
2001-08-30 14:58:06.0
cannot be avoided2001-08-30 14:58:06.0
has definition A form of coupling in which several components make use of the same globally-defined data type2001-08-30 14:58:06.0
has disadvantage if the type definition changes, then the users of the type may well have to change.2001-08-30 14:58:06.0
is less problematic than common coupling2001-08-30 14:58:06.0
is similar to common coupling, but instead of data being shared, only data types are shared2001-08-30 14:58:06.0
is a subtopic of 9.2 - Principles Leading to Good Design2001-08-30 14:58:06.0
is a kind of coupling2001-08-30 14:58:06.0
occurs when a class declares a variable as having another class as its type2001-08-30 14:58:06.0
occurs in typed languages such as Java2001-08-30 14:58:06.0
couplingimplies that if you want to reuse one component, you will also have to import all the ones with which it is coupled2001-08-30 14:55:07.0