Quantcast
Channel: Stack Exchange – Ars Technica
Viewing all articles
Browse latest Browse all 20

Why is multiple inheritance so abhorred?

$
0
0
Why is multiple inheritance so abhorred?

(credit: Stack Exchange)

This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites.

Panzercrisis asks:

I've always liked the idea of having multiple inheritance supported in a language. Most often though it's intentionally forgone, and the supposed "replacement" is interfaces. Interfaces simply do not cover all the same ground multiple inheritance does, and this restriction can occasionally lead to more boilerplate code.

Read 26 remaining paragraphs | Comments


Viewing all articles
Browse latest Browse all 20

Trending Articles