Does the Single Responsibility Principle work in OOP?
I like to state the single responsibility principle this way: “Every thing you write — every module, class, interface, or method, should have one job. It should do the whole job and only that job. Notice that some of these things you write are big (modules), some are small (methods), some are in between (classes), … Read more