Comment Comment by wyager Superior composability with simpler semantics and sounder type systems.Class hierarchies are inherently unfriendly to strong, sound type systems. Interface composition isn't.Composing interfaces is clean and straightforward. Composing classes isn't, and you run into things like the diamond problem. parent wyager 9 years ago
Class hierarchies are inherently unfriendly to strong, sound type systems. Interface composition isn't.
Composing interfaces is clean and straightforward. Composing classes isn't, and you run into things like the diamond problem.