(Off topic - a bit) This is not an apology!
(Off topic - a bit) This is not an apology!
- Subject: (Off topic - a bit) This is not an apology!
- From: "Smith, Bradley" <email@hidden>
- Date: Tue, 11 Dec 2001 14:59:36 -0000
Okay, my latest development is a system for reverse engineering C++, Ada, C
and Java into a UML modeling tool. My design has multiple inheritance. This
is not a problem in and of itself IMHO. However, the development has to be
done in C++ (it's targetted for the "other" OS) and the C++ implementation
of multiple inheritance is a nightmare. It's just a series of hacks to get
around the problem. Virtual base classes here, downcasting there...
Horrible!
Now, my question to the group (and there was a similar question a while back
that caused a bit of a flame war so let's not go there again) is: -
Given that We're (mostly) Obj-C programmers here and don't have multiple
inheritance at our disposal, how (given that in design terms multiple
inheritance is valid) do you work around a language's lack of support for
it? Do you redesign to eliminate teh MI? If so, how? Or, do you accept that
the design is valid and just implement it differently? Ondra, feel free to
comment - I promise not to attack (unless severely provoked) ;-)
Regards
Brad
P.S. Remember, I have to use C++. Obj-C isn't an option and I guess off-list
replies might be in order.