Skip to content

Commit

Permalink
fix srp, natural order of words
Browse files Browse the repository at this point in the history
  • Loading branch information
zakirullin committed Oct 1, 2024
1 parent 345e95b commit 79dfaaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ If you think we are rooting for bloated God objects with too many responsibiliti
## Shallow modules and SRP
All too often, we end up creating lots of shallow modules, following some vague "a module should be responsible for one, and only one, thing" principle. What is this blurry one thing? Instantiating an object is one thing, right? So `MetricsProviderFactoryFactory` seems to be just fine. The names and interfaces of such classes tend to be more mentally taxing than their entire implementations, what kind of abstraction is that? Something went wrong.

We make changes to our systems to satisfy our stackeholders and users. We are responsible to them.
We make changes to our systems to satisfy our users and stackeholders. We are responsible to them.

> A module should be responsible to one, and only one, user or stackeholder.
> **Uncle Bob**
Expand Down

0 comments on commit 79dfaaf

Please sign in to comment.