April 2018
Intermediate to advanced
300 pages
7h 41m
English
The Single Responsibility Principle states that the class should only have one particular objective and that responsibility should be entirely encapsulated from the class. If there is any change or a new objective has to be accommodated for, a new class or interface should be created.
Applying this principle in software design makes our code maintainable and easier to understand. Architects usually follow this principle when designing software architecture, but, with the passage of time when many developers work and incorporate changes into that code/class, it becomes bloated and disaffirms the single responsibility principle, thus eventually making our code unmaintainable.
This also relates to the concepts ...