SOLID Principles – Single Responsibility Principle (SRP)
Single Responsibility Principle (SRP) is a software design principle, the main purpose is, a class, a method should have only one reason. An application consists of many classes and functions. And every method and class will done single task. Understanding and extends will be easy if we keep the class or method for single task.Let’s look a code which didn’t implement SRP principle. This violates … Continue reading SOLID Principles – Single Responsibility Principle (SRP)