Using the Single Responsibility Principle
29th Mar 2021 by Aneesh Mistry
Single Responsibility Principle
The single responsibility principle is a software development pattern that asserts each class to have a single purpose. In this tutorial, we use the single responsibility principle by refactoring a multi-purpose class into single-purpose classes and explore the various benefits of this design.