Reputation
271
Next privilege 300 Rep.
Create new tags
Badges
1 6
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 14 votes cast
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.
Sep
24
awarded  Autobiographer
Jan
21
awarded  Informed
Mar
15
awarded  Yearling
Apr
19
awarded  Supporter
Apr
19
awarded  Editor
Mar
15
awarded  Teacher
Mar
15
awarded  Nice Answer