User Tools

Site Tools


principles:single_responsibility_principle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
principles:single_responsibility_principle [2013-06-22 20:45] christianprinciples:single_responsibility_principle [2021-09-02 19:39] – old revision restored (2021-05-11 22:28) 65.21.179.175
Line 9: Line 9:
 ===== Context ===== ===== Context =====
 /* fill in contexts here: */ /* fill in contexts here: */
-  * [[contexts:Object-Oriented Design]] +  * [[contexts:Object-Oriented Design]]  
-  * [[contexts:API Design]] +
-  * [[contexts:Architecture]] +
-  * [[contexts:User Interface Design]]+
  
 ===== Principle Statement ===== ===== Principle Statement =====
Line 32: Line 30:
  
 ===== Strategies ===== ===== Strategies =====
- 
- 
-===== Caveats ===== 
- 
-See section [[#contrary principles]]. 
  
  
 ===== Origin ===== ===== Origin =====
 /* the *primary* source */ /* the *primary* source */
-{{page>resources:Agile Software Development, Principles, Patterns, and Practices#reference}}+
  
 ===== Evidence ===== ===== Evidence =====
Line 57: Line 50:
 ==== Generalizations ==== ==== Generalizations ====
  
-  * [[High Cohesion]] (HC) +  * [[principles:High Cohesion]] 
-  * [[Encapsulate the Concept that Varies]] (ECV)+
 ==== Specializations ==== ==== Specializations ====
  
Line 69: Line 62:
  
 {{page>collections:SOLID#Box}} {{page>collections:SOLID#Box}}
-===== Examples =====+===== Example =====
  
  
 ===== Description Status ===== ===== Description Status =====
 /* Choose one of the following and comment out the rest: */ /* Choose one of the following and comment out the rest: */
-/*[[wiki:Stub]]*/ +[[wiki:Stub]] 
-[[wiki:Incomplete]]+/*[[wiki:Incomplete]]*/
 /*[[wiki:Complete]]*/ /*[[wiki:Complete]]*/
  
 ===== Further Reading ===== ===== Further Reading =====
  
-  * {{page>resources:Agile Software Development, Principles, Patterns, and Practices#reference}}+  * Robert C. Martin//Agile Software Development, Principles, Patterns, and Practices//
   * [[http://www.butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod|ButUncleBob: Principles of OOD]]   * [[http://www.butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod|ButUncleBob: Principles of OOD]]
   * [[wiki>SingleResponsibilityPrinciple]]   * [[wiki>SingleResponsibilityPrinciple]]
Line 88: Line 81:
   * [[http://blog.8thlight.com/cory-foy/2012/08/07/thinking-differently-about-srp.html|Thinking Differently About the Single Responsibility Principle]]   * [[http://blog.8thlight.com/cory-foy/2012/08/07/thinking-differently-about-srp.html|Thinking Differently About the Single Responsibility Principle]]
  
-===== Discussion ===== 
- 
-Discuss this wiki article and the principle on the corresponding [[talk:principles:Single Responsibility Principle|talk page]]. 
principles/single_responsibility_principle.txt · Last modified: 2021-10-18 22:01 by christian