If you need to have objects look alike but don't have any code to share, you don't need inheritance -- you need an interface. Here's an example of how interfaces provide a more flexible way to deal ...
It seems that MI has fallen severely out of favor. Neither of the two "big" programming languages to come out in the last few years, Java or C#, make use of multiple implementation inheritance, ...
Extension methods provide a great way for extending a class functionality -- but it's interfaces that let you use those methods anywhere you want. Extension methods let you add functionality to an ...
Q: Why doesn’t the Java language support multiple inheritance? A: Whenever you find yourself asking why Java has or does not have some feature, consider the design goals behind the Java language. With ...
Is it possible that you are in fact referring to subtyping and not inheritance of attributes and members? Subtypes are great. So are typeclasses and interfaces, of course. For your usecase, a struct ...