Reddit: why aren't people using D?

Michiel Helvensteijn m.helvensteijn.remove at gmail.com
Thu Jul 23 06:57:33 PDT 2009


Andrei Alexandrescu wrote:

>> So the solution in D would then be to always use struct? No, because
>> value semantics seems to come at the price of inheritance. Why? C++ seems
>> to handle inheritance in value types just fine.
> 
> I think C++ does not handle inheritance in value types all that well, in
> fact the way it deals with the collision is pretty gruesome. It's all
> dark corners and dangers and caveats and puzzling behavior.

Walter said something similar. I'm curious, which collision are you
referring to? Which dark corners and dangers and caveats and puzzling
behavior?

Can you explain? Or perhaps refer me to a web location that explains?

Thanks.

-- 
Michiel Helvensteijn




More information about the Digitalmars-d mailing list