[Mono-list] Re: Is Objective-C support possible?

Martin Coxall coxall@cream.org
18 Feb 2002 22:23:55 +0000


> Any OO purist that says multiple inheritance is bad is an idiot. 
> Multiple inheritance is a great tool.  In the right hands, multiple
> inheritance makes life much easier and maintainability and code reuse go
> way up.

The Design Pattern motto is "If you're using multiple inheritance,
you're designing your class hierarchy badly". As a guiding principle,
it's always served me well. Like an infinite quantity in an equation,
it's a sure sign of a need to renormalise.

Isn't it interesting, though, that the languages with multiple
inheritance are those that seem to lead to *least* code reuse?

Martin