| ▲ | Apocryphon 2 hours ago | |||||||
Then what does it mean if "composition over inheritance" is also taught as a good practice in OO? | ||||||||
| ▲ | MaxBarraclough 2 hours ago | parent [-] | |||||||
That's a rule-of-thumb to help beginners in making judgement calls. It doesn't mean inheritance should never be used. | ||||||||
| ||||||||