Multiple subtyping with alias this and nested classes
Rainer Deyke
rainerd at eldwood.com
Sat Oct 3 15:30:11 PDT 2009
Max Samukha wrote:
> The above sucks because we can't specify which nameCollision gets
> implemented by which mixin. In current D, nameCollision of both
> interfaces is implemented by Flipper.
I don't think that being able to define multiple separate functions with
the same name and the same signature is a necessary feature of multiple
inheritance, or even a particularly well thought-out one. Python is an
example of a language without this "feature", and multiple inheritance
is very common in Python.
--
Rainer Deyke - rainerd at eldwood.com
More information about the Digitalmars-d
mailing list