struct vs. class
Hasan Aljudy
hasan.aljudy at gmail.com
Tue May 29 16:33:40 PDT 2007
Martin wrote:
> C++ does that by using virtual vs. the
> default and pointers/references vs. values with all the associated
> problems but there might be a cleaner and nicer way without having to
> give up the flexibility.
That is why C++ sucks.
I actually like the D solution .. specially having used Java before .. a
language with NOTHING other than classes!! and C++ .. a language without
"real" classes.
D has the best "in the middle" solution.
More information about the Digitalmars-d
mailing list