D 2015/2016 Vision?

jmh530 via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 6 13:04:01 PDT 2015


On Tuesday, 6 October 2015 at 18:43:42 UTC, Jonathan M Davis 
wrote:
> In most cases though, just don't use classes. In most cases, 
> inheritance is a horrible way to write programs anyway, because 
> it's _horrible_ for code reuse. It definitely has its uses, but 
> I've found that I rarely need classes in D. I suspect that far 
> too many folks new to D end up using classes instead of structs 
> just because they're used to using classes in C++ or Java or 
> whatever.

What improvements to structs do you think would help people 
coming from C++/Java most?


More information about the Digitalmars-d mailing list