STUPID is an acronym that describes bad practices in Oriented Object Programming:
SOLID is an acronym that stands for five basic principles of Object-Oriented Programming and design to fix STUPID code:
- Single Responsibility Principle
- Open/Closed Principle
- Liskov Substitution Principle
- Interface Segregation Principle
- Dependency Inversion Principle
Nice article about this :
https://williamdurand.fr/2013/07/30/from-stupid-to-solid-code/