Originally posted by Stan James:
BTW: How does Eiffel handle it? Can you call a method on an object without knowing the object's class extends two different classes with the same method? How do you avoid breaking the Law of Demeter?
I haven't got that far yet, but having a quick 2-minute look at the chapter (in Meyer B, Object Oriented Software Construction 2/e, Upper Saddle River NJ: Prentice Hall, 1997, page 519ff) suggests:-
How does Eiffel handle it?