Good code should adhere to the five SOLID principles. What are these five principles? The definitions are easy to read, but hard to understand. Let’s take some ugly legacy code and refactor it into a SOLID piece of beauty!
- Talk & Demo: https://github.com/scato/solid-refactoring
- Twitter: https://twitter.com/scataco
- Github: https://github.com/scato
SOLID Principle
1. Single-Responisbility
2. Open-Closed
3. Liskov Subtitution
4. Interface-Segregation
5. Dependency-Inversion