3 ms·
This is analogous to the principle of composition over inheritance. Using is-a relationships (inheritance) is concise and convenient, but sometimes leads to wro
by brlewis 6y ago
This is analogous to the principle of composition over inheritance. Using is-a relationships (inheritance) is concise and convenient, but sometimes leads to wrong models of the world. It's safer to use has-a relationships (composition).