3 ms·
Not very true. Some languages prefer inheritance to express is-a relationships and composition to express has-a relationships. Some languages try to shoe horn
by seanmcdirmid 13y ago
Not very true.
Some languages prefer inheritance to express is-a relationships and composition to express has-a relationships. Some languages try to shoe horn is-a into being equivalent to has-a, but they usually have trouble expressing non-structural subtyping.