Reddit: why aren't people using D?
Jarrett Billingsley
jarrett.billingsley at gmail.com
Thu Jul 23 10:10:59 PDT 2009
On Thu, Jul 23, 2009 at 12:11 PM, Rainer Deyke<rainerd at eldwood.com> wrote:
> Yes, C++ has problems, but these problems can be fixed! The
> struct/class split, on the other hand, introduces many more problems
> that are harder to fix.
You know, this is like the first thing C++ users complain about on the
IRC channel when they find D: "what if I want to turn a class into a
struct, or vice versa?"
I've been using D for five years, and I have never.
EVER.
Needed or desired to do that. Nor have I heard anyone but new C++
users complaining about it.
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.
More information about the Digitalmars-d
mailing list