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.)

I expect the situation will be much better in D2.


-- 
Rainer Deyke - [email protected]

Reply via email to