Johann,
there was a signifcant thread about this recently - here's a quick cut/paste
job from my posts:
I had MI in a previous world (Gupta/Centura 4GL)
and I miss it dearly. Mind you I think that all in all, c# is pretty damn
good, but I can make several real cases where MI is the correct design/model
and would save a fair amount of duplication. I have pretty much given up
hope on ever seeing it in the CLR tho.
In my architecture, I keep 100% separation of business functionality from
presentation layer (Web Services connect a rich,thin client to functional
server objects). So I have two separate cases. Server-side, I have more
control over, as I do not use Datasets or such - my objects are built from
the ground up.
However, on the client, I must provide all controls that are capable of
talking my specific Web Service schema to the server, but I must inherit
from the standard WinForms controls. I have no choice but to replicate code
in a checkbox, textbox, radio button class etc. If I had MI, I would have
an abstract class that understood my schema, and all the window classes
would inherit from that as well as the .NET supplied standard Windows
classes. For now, I can only implement an interface, but there is much code
that is identical across controls.
Server-side, I would still like MI, but learned to live without it.
Philosophically, I can not understand those who do not appreciate MI; used
correctly, you can normalise your code base like you would normalise your
database.
Radek
"Johann Blake" <jo*********@yahoo.com> wrote in message
news:eR**************@TK2MSFTNGP12.phx.gbl...
Why do you feel multiple inheritance is something important? What could
you give as a real-world example where some object inherits from 2
totally unrelated entities? Actually I just thought of one. The
tasmanian wolf! It is neither a wolf (or even from a dog family) nor is
it a cat, yet it is a masuipial and can behave like a kangaroo (no
kidding, it can hop on its hind legs). So there you go, a tasmanian wolf
object that inherits from a cat, a dog and kangaroo.
Best Regards
Johann Blake
*** Sent via Developersdex http://www.developersdex.com ***