|visits||member for||3 years, 2 months|
|seen||12 hours ago|
Quantitative analyst in an investment bank in Paris.
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.