What are some potential efficiency disadvantages of having very shallow inheritance trees, that is, a large set of classes, A, B, C, and so on, such that all of these classes extend a single class, Z?
The only problem I can see is all the classes extends to z, becomes tightly coupled and if there is a chance to optimize the code in z class, it becomes cumbersome for developers, as they have the change the code in all extending classes. As a result, the code becomes less performant.