Suggestion: Allow Multiple Inheritance and still preserver super() functionality

Jim Gadrow MakariVerslund at gmail.com
Fri Mar 7 10:49:13 PST 2008


Thank you all for your responses. They have illuminated why multiple-inheritance is less than optimal in terms of language implementation.

The only thing I will miss is the ability to allow a class to inherit fields from multiple classes if it 'is' related to both classes. But, I suppose I could do that via mixin, it just seems to add work-around code but at least now I know the rationale behind it.



More information about the Digitalmars-d mailing list