Hacker News new | past | comments | ask | show | jobs | submit login

In a multiple inheritance world yes. But I think most C++ devs decides that led to a big mess in large systems. Supposedly one of the best things about Java was no multiple inheritance.



Except it happens that there are architecture scenarions where multiple inheritance makes sense, so all major languages have it in some form anyway.

In what concerns Java you have multiple inheritance of interfaces, and as of Java 8, traits.

Windows C++ frameworks, from Microsoft and Borland/Embarcadero make use of multiple inheritance.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: