Thursday, November 27, 2008

Inheritance Gone Mad

When I was a young programmer (so many years ago) there were differing views on the use of multiple inheritance in C++.

Some felt it shouldn't be used because it added unnecessary complexity, others thought it was absolutely fine when used correctly and appropriately.

I fell into the latter camp, feeling that it had a place.

But even I was a bit surprised to see the inheritance list for a class generated by the wizard in Visual Studio 2008 for an ActiveX object that will be used in Internet Explorer.

I'm hoping I've incorrectly ticked a box on one of the wizard pages since there were 21 entries! 

I'm now looking through the descriptions for the numerous interfaces and classes in the list to work out what they all do.

No comments: