Jun 30, 2023
You got SRP wrong. It is about changing a class because of changes in a single department of your organization (accounting, HR), not about doing only one thing in a class. https://medium.com/codex/single-responsibility-principle-it-isnt-what-you-think-it-is-a652debed329