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.
2 tips
Reset filtersObject-oriented programming
Your classes inherit from each other over several levels and every new feature forces yet another subclass.
Best practices
Your users' passwords are stored in plain text, MD5 or SHA-1: if the database leaks, they can be used right away.
Question of the moment
Several answers possible