If you were planning to build an entire project around multiple
inheritance, forget it.. However if you have a one off where you think
Multiple Inheritance could help you might consider adopting the
Decorator Pattern (Gamma et al).. The decorator pattern is like this:
type TPerson = class( TObject )
private
fName : string;
public
property Name : string read fName write fName;
end;
type TOccupation = class( TObject )
private
fName : string;
public
property Name : string read fName write
fName;
end;
Type TEmployedPerson = class( TPerson )
private
fOccupation : TOccupation;
public
property Occupation : TOccupation read fOccupation
write
fOccupation;
end;
The motivation for the Decorator Pattern is: "Attach addition
responsiblities to an object dynamically. Decorators provide a flexible
alternative to subclassing for extending functionality"