Do classes require explicit constructors?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Feb 14 16:25:03 UTC 2026


On 15/02/2026 5:21 AM, Brother Bill wrote:
> On Saturday, 14 February 2026 at 16:08:15 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
> 
>> I want classes improved, there is plenty of room for it.
> 
> On that topic, consider supporting true multiple inheritance, clean like 
> Eiffel, but unlike C++, which did it dirty.
> 
> Multiple inheritance in D will be a teeny bit slower at run time, and a 
> bit slower at compile time.
> 
> If you did it, you would have Eiffel with D syntax.

This has come up a lot over the years, especially in regards to C++.

It is intentional to not support it, it makes the implementation a lot 
more complex.



More information about the Digitalmars-d-learn mailing list