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?

Reply via email to