DEV Community

loading...

Discussion on: The Secret Life of Objects: Inheritance

Collapse
riccardo_cardin profile image
Riccardo Cardin Author

Thanks for the comment. Maybe, the best place where to start is trying to avoid inheritance from concrete classes. In this way, you are forced to use composition.