271 reputation
16
bio website
location Paris, France
age 29
visits member for 2 years, 10 months
seen Jan 27 at 18:55

Quantitative analyst in an investment bank in Paris.


Dec
30
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.