Single Responsibility Principle

GPTKB entity

Statements (20)
Predicate Object
gptkbp:instanceOf software design principle
gptkbp:abbreviation gptkb:SRP
gptkbp:appliesTo object-oriented programming
software engineering
gptkbp:category gptkb:architecture
object-oriented design
gptkbp:defines A class should have only one reason to change.
gptkbp:firstPublished 2000
gptkbp:goal improve code maintainability
increase code reusability
reduce code complexity
https://www.w3.org/2000/01/rdf-schema#label Single Responsibility Principle
gptkbp:partOf gptkb:SOLID_principles
gptkbp:proposedBy gptkb:Robert_C._Martin
gptkbp:relatedTo gptkb:Dependency_Inversion_Principle
gptkb:Interface_Segregation_Principle
gptkb:Liskov_Substitution_Principle
Open/Closed Principle
gptkbp:bfsParent gptkb:SRP
gptkbp:bfsLayer 5