version: multiple conditions

via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 16 06:16:38 PDT 2015


On Tuesday, 16 June 2015 at 10:39:48 UTC, Dennis Ritchie wrote:
> On Tuesday, 16 June 2015 at 10:05:05 UTC, Walter Bright wrote:
>> It does not allow multiple inheritance.

Unfortunately not true, you're adding multiple alias this…

> I have often heard from Lisp programmers that the rejection of 
> multiple inheritance is a weakness. They believe that it's well 
> implemented in Lisp, and developers of other languages can not 
> solve the problem of the diamond.

You probably refer to CLOS and not proper Lisp.

C++ has multiple inheritance and "solves" it, but most C++ 
programmers try to avoid multiple inheritance anyway. So why 
would D be better with it?



More information about the Digitalmars-d mailing list