Best practice · Intermediate
Object-oriented programming
OOP: favour composition over inheritance
Your classes inherit from each other over several levels and every new feature forces yet another subclass.
- TypeScript
- PHP
- Python
Code, commands, maintenance and best practices, ready to use.
1 tip
Reset filtersObject-oriented programming
Your classes inherit from each other over several levels and every new feature forces yet another subclass.
Question of the moment