Reddit: why aren't people using D?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri Jul 24 20:32:52 PDT 2009
Rainer Deyke wrote:
> Andrei Alexandrescu wrote:
>> Well I use it sometimes too, but it's so fraught with peril that
>> virtually all coding standards I've ever seen, all books and magazine
>> articles on the topic, all pundits, say one thing: don't. Better use
>> composition.
>
> My take on composition vs inheritance is very simple: always use
> composition, unless you absolutely need inheritance. Sometimes I
> absolutely need inheritance, and D isn't giving it to me.
>
> I don't care about your coding standards. I know how to use C++. I
> have my own rules about how to use it safely and effectively, rules that
> I have spent a lifetime refining.
Whether we like it or not, programming has a large social component.
Andrei
More information about the Digitalmars-d
mailing list