SOLID Principle is a must

SOLID foundation manifesto, each class must only have one responsibility.

Single-responsibilty Principle
Open-closed Principle
Liskov Substiotion Principle
Interface Segregation Principle
Dependency inversion Principle

SOLID principle will help you to improve readability, somehow we face some difficulties when code review or read existing code that people wrote, even you got bugfix with legacy code. when you try to fix it, it triggers another side effect. SOLID Principle comes to rescue this case.

Debugging will always be one process that software engineers did, Developer should able to understand the code flow when debugging, for existing code that already implement if there no design pattern, this becomes a time-consuming process. take a long time to understand what those codes work. For future improvement or bug fix, if developer wants to make any changes sometime will break another function because if couple tied with main function, developer should be careful to do this cos it might create another bug.

We can't rely on people that work before us so it better we prepare it first, due to some factors that they cant bring documentation. if documentation already available could be out of sync. so documentation should be updated together with development running.

Based above problem, we search solution, one of that is a design pattern, many design pattern that can obtain and integrate, but it should suitable with our environment. For example, you using react so you can use Redux. Why design pattern contribute crucial role,

  • Every class and module only focus on one purpose.


  1. Class functionality can be easily extended


  1. Each of the classes may have references to other classes as member fields or method parameters

Android Developer and Learner.