Have you ever heard SOLID? 🤔 Let's look at 'S: Single Responsibility Principle' of it.
S: Single Responsibility Principle (SRP)
According to the book's definition, a class should have only one reason to change.
It means: Gather together the things that change for the same reasons. Separate those things that change for different reaso...
iamgautam.hashnode.dev3 min read