Reddit: why aren't people using D?
Jarrett Billingsley
jarrett.billingsley at gmail.com
Thu Jul 23 13:53:04 PDT 2009
On Thu, Jul 23, 2009 at 4:34 PM, Rainer Deyke<rainerd at eldwood.com> wrote:
> Jarrett Billingsley wrote:
>> Classes and structs are fundamentally different concepts. You design
>> your code from the start to use one or the other, because only one
>> makes sense.
>
> 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.
More information about the Digitalmars-d
mailing list