TIL Single Responsibility Principle
POSTED ON:
TAGS: webdev
What is the responsibility of your class/component/microservice?
If your answer includes the word “and”, you’re most likely breaking the single responsibility principle. Then it’s better to take a step back and rethink your current approach. There is most likely a better way to implement it.
A quote from the blogpost: Single Responsibility Principle.
Related TILs
Tagged: webdev