Reddit: why aren't people using D?

Walter Bright newshound1 at digitalmars.com
Thu Jul 23 10:49:19 PDT 2009


Rainer Deyke wrote:
> 1. C++'s object model, complete with polymorphic value types,
> deterministic destructors, arbitrary copy constructors, and optional
> lack of default constructor.  D's structs come close, but I think the
> class/struct split hurts D more than it helps.  And, yes, C++ has a lot
> of room for improvement here.

I'm with Andrei in saying that polymorphic value types are a very bad 
idea. I've never seen a use case for them that wasn't a mistake.



More information about the Digitalmars-d mailing list