The idea behind the SRP is that every class, module, or function in a program should have one responsibility/purpose in a program.
As a commonly used definition, “every class should have only one reason to change”.
The idea behind the SRP is that every class, module, or function in a program should have one responsibility/purpose in a program.
As a commonly used definition, “every class should have only one reason to change”.
We can leverage Nix to split up a nontrivial config and observe the Single responsibility principle.