
March 27, 2022
6:37 a.m.
On Mon, 28 Mar 2022 at 00:22, malmiteria <martin.milon@ensc.fr> wrote:
That's my point here. Conflicting names of method existing in both parents should really be considered a conflict, and require manual solving, as i illustrated it above.
Where you see "conflicting", I see "overriding" or "augmenting". Can you offer a non-toy example showing how this is actually a problem to be solved, rather than a feature of the inheritance tree? Maybe what you're looking for is a completely different way of combining classes - not inheritance, not composition, but something else entirely. But I'm not sure, since the examples are so trivial. ChrisA