Matches in DBpedia 2014 for { <http://dbpedia.org/resource/Single_responsibility_principle> ?p ?o. }
Showing items 1 to 35 of
35
with 100 items per page.
- Single_responsibility_principle abstract "In object-oriented programming, the single responsibility principle states that every class should have a single responsibility, and that responsibility should be entirely encapsulated by the class. All its services should be narrowly aligned with that responsibility. The term was introduced by Robert C. Martin in an article by the same name as part of his Principles of Object Oriented Design, made popular by his book Agile Software Development, Principles, Patterns, and Practices. Martin described it as being based on the principle of cohesion, as described by Tom DeMarco in his book Structured Analysis and Systems Specification.Martin defines a responsibility as a reason to change, and concludes that a class or module should have one, and only one, reason to change. As an example, consider a module that compiles and prints a report. Such a module can be changed for two reasons. First, the content of the report can change. Second, the format of the report can change. These two things change for very different causes; one substantive, and one cosmetic. The single responsibility principle says that these two aspects of the problem are really two separate responsibilities, and should therefore be in separate classes or modules. It would be a bad design to couple two things that change for different reasons at different times.The reason it is important to keep a class focused on a single concern is that it makes the class more robust. Continuing with the foregoing example, if there is a change to the report compilation process, there is greater danger that the printing code will break if it is part of the same class.".
- Single_responsibility_principle wikiPageID "2584592".
- Single_responsibility_principle wikiPageRevisionID "540764887".
- Single_responsibility_principle hasPhotoCollection Single_responsibility_principle.
- Single_responsibility_principle subject Category:Programming_principles.
- Single_responsibility_principle subject Category:Software_design.
- Single_responsibility_principle type Abstraction100002137.
- Single_responsibility_principle type Cognition100023271.
- Single_responsibility_principle type Content105809192.
- Single_responsibility_principle type Generalization105913275.
- Single_responsibility_principle type Idea105833840.
- Single_responsibility_principle type Principle105913538.
- Single_responsibility_principle type ProgrammingPrinciples.
- Single_responsibility_principle type PsychologicalFeature100023100.
- Single_responsibility_principle comment "In object-oriented programming, the single responsibility principle states that every class should have a single responsibility, and that responsibility should be entirely encapsulated by the class. All its services should be narrowly aligned with that responsibility. The term was introduced by Robert C. Martin in an article by the same name as part of his Principles of Object Oriented Design, made popular by his book Agile Software Development, Principles, Patterns, and Practices.".
- Single_responsibility_principle label "Principio di singola responsabilità".
- Single_responsibility_principle label "Single responsibility principle".
- Single_responsibility_principle label "Single responsibility principle".
- Single_responsibility_principle label "Single-Responsibility-Prinzip".
- Single_responsibility_principle label "Zasada jednej odpowiedzialności".
- Single_responsibility_principle label "Принцип единственной обязанности".
- Single_responsibility_principle label "مبدأ المهمة الواحدة".
- Single_responsibility_principle label "单一功能原则".
- Single_responsibility_principle sameAs Princip_jedné_odpovědnosti.
- Single_responsibility_principle sameAs Single-Responsibility-Prinzip.
- Single_responsibility_principle sameAs Single_responsibility_principle.
- Single_responsibility_principle sameAs Principio_di_singola_responsabilità.
- Single_responsibility_principle sameAs 단일_책임_원칙.
- Single_responsibility_principle sameAs Zasada_jednej_odpowiedzialności.
- Single_responsibility_principle sameAs m.07pr7_.
- Single_responsibility_principle sameAs Q197857.
- Single_responsibility_principle sameAs Q197857.
- Single_responsibility_principle sameAs Single_responsibility_principle.
- Single_responsibility_principle wasDerivedFrom Single_responsibility_principle?oldid=540764887.
- Single_responsibility_principle isPrimaryTopicOf Single_responsibility_principle.