Assertion: single responsibility principle | /r/HasProperty | srp
Facets:
Source sentences:
text: The single-responsibility principle (SRP) is a computer-programming principle that states that every module or class should have responsibility over a single part of the functionality provided by the software, and that responsibility should be entirely encapsulated by the class, module or function.