Reddit: why aren't people using D?

Rainer Deyke rainerd at eldwood.com
Thu Jul 23 16:48:48 PDT 2009


Jarrett Billingsley wrote:
> On Thu, Jul 23, 2009 at 4:34 PM, Rainer Deyke<rainerd at eldwood.com> wrote:
>> In my first (and to date only) D project, *all* my user-defined types
>> started as structs, and *all* became classes when I found out that D1
>> structs don't support all of the features I need.  (None of them used
>> polymorphism.  In C++, all would have been value types.)
> 
> And you don't think that has *anything* to do with trying to program C++ in D.

No, it was clearly a case of trying to program D2 in D1.  In D2, all of
these types should be structs.


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list