Reddit: why aren't people using D?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Jul 24 14:17:11 PDT 2009


Rainer Deyke wrote:
> Walter Bright wrote:
>> Rainer Deyke wrote:
>>>   - Implementation inheritance of value types, even without actual
>>> polymorphism, is useful.  See, for example, the curiously recurring
>>> template pattern (and all of its uses).
>> You can do this with 'alias this'.
> 
> Composition instead of inheritance?  Doesn't work if I need virtual
> functions.

This is going in circles. You started from "implementation inheritance 
of value types, even without actual polymorphism".

Andrei



More information about the Digitalmars-d mailing list