Design Patterns · Senior · Question 39 of 75

What are afferent and efferent coupling of a module?

Explanation

A module many others depend on (high afferent coupling) should be stable and abstract - e.g. shared/ui. A module depending on many others is unstable. The instability metric helps spot violations of dependency direction.

Further reading

Problem with a question

Design Patterns · Senior · question 39

Test yourself

Take the Design Patterns · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz