Depth of inheritance

DIN

Measure -- scope of properties

  • DIN(x) = distance( root(x), class(x) )

Viewpoint --

the deeper a class is in the hierarchy, the greater the number of methods that is likely to be inherited, making the object more complex
slide: Depth of inheritance