In this chapter, you learned about the following topics:
- Code smells and the importance of refactoring code
- SOLID design principles:
- Single responsibility principle
- Open closed principle
- Liskov substitution
- Interface segregation
- Dependency injection
- Various code smells:
- Comments smell
- Long method
- Long parameter list
- Duplicate code
- Conditional complexity
- Large class
- Dead code
- Object-oriented code smells' primitive obsession
- Data class
- Feature envy
You also learned about many refactoring techniques that will help you maintain your code cleaner. Happy coding!