H
Hung Jung Lu
Hi,
This is a question for people that have experience with multiple
inheritance (MI) or equivalent in Java/C#.
A relevant url is:
http://www.cyberdyne-object-sys.com/oofaq2/DynInh.htm
Java/C# do not have class MI. Java/C# go through interface MI, they
use containment instead of aggregation, they implement the interface
methods through delegating to the contained instance members. At least
this is the normal approach. Problem is of course when some of the
base interfaces change. It's a pain: you have to edit all the
subclasses that inherit the interfaces.
What do people do to circumvent these problems, short of purchasing
commercial solutions like cyberdyne?
thanks,
Hung Jung
This is a question for people that have experience with multiple
inheritance (MI) or equivalent in Java/C#.
A relevant url is:
http://www.cyberdyne-object-sys.com/oofaq2/DynInh.htm
Java/C# do not have class MI. Java/C# go through interface MI, they
use containment instead of aggregation, they implement the interface
methods through delegating to the contained instance members. At least
this is the normal approach. Problem is of course when some of the
base interfaces change. It's a pain: you have to edit all the
subclasses that inherit the interfaces.
What do people do to circumvent these problems, short of purchasing
commercial solutions like cyberdyne?
thanks,
Hung Jung