271 reputation
bio website
location Paris, France
age 30
visits member for 3 years, 1 month
seen 2 days ago

Quantitative analyst in an investment bank in Paris.

comment What is different between the internal design of Java and C++ that lets C++ have multiple inheritance?
Actually, C++ gives you the choice between diamond and non-diamond inheritance, so this is not really the problem. Note that most languages which provide MI (eg. python, lisp) are very dynamic in nature, and allow you for instance to customize the way methods overrides are resolved. In C++, multiple inheritance is actually very crippled if you compare it to eg. lisp's CLOS with its multiple dispatch mechanism, and this reduces its usefulness to interface inheritance, à la Java.