- Joined
- Dec 1, 2007
- Messages
- 38,987
- Likes received
- 2,910
- Thanks received
- 678
- Location
- My house
Being told not to do it is just plain daft, when nearly every class in the Java libraries inherits from something (if it is Java we're talking). Probably "if you're not sure, composite" is better advice."favour composition over inheritance" but It is better that people are told just not to do it, it usually ends up a mess and adds only trouble. I would say most modern frameworks have all but stopped using inheritance as a means of integration.