Jump to content

Talk:Single-responsibility principle

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 63.128.77.30 (talk) at 15:01, 16 March 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Introduction

WikiProject iconComputing: Software Unassessed
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software.

I have a copy of Demarco's book Structured Analysis and Systems Specification and chased down some references to Chapter 25, page 310 where Demarco discusses Cohesion. I was unable to find any reference to "Single responsibility principle." The phrase is not in the glossary or index. While the concept is present, the words are not used. I also have Page-Jones book The Practical Guide to Structured Systems Design. This has a more thorough discussion of Cohesion. While the concept "single responsibility principle" is present, again, I do not find the phrase. I do not know the source of this phrase, but it does not seem to be from either of these two books.

(Mbkelly (talk) 02:45, 11 December 2007 (UTC))[reply]
Note by Tei: I have moved this opinion from the article here.


The name was coined by Uncle Martin but the principle was "invented" by DeMarco. -- 82.214.2.196 (talk) 14:05, 4 January 2008 (UTC) Torbjörn Kalin[reply]

The article suggests that SRP is specific to object-oriented programming. However, it is much more broad than that. 82.161.178.6 (talk) 07:35, 27 May 2014 (UTC)[reply]


Martin states clearly that he use the term to describe the concept defined by DeMarco and Page-Jones. Other authors (C. Larman, e.g.) use high cohesion or separation of concerns referring to similar principles. 63.128.77.30 (talk) 13:42, 16 March 2015 (UTC)63.128.77.30[reply]

"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." I believe that the term was introduced in PPP in 2003. The first mention of the object-oriented commandments were in 1995, but doesn't mention it. After that, in a set of articles in ObjectMentor.com (1997) Martin discuss other principles, but not the SRP. Also there's no mention of it in the summary of 2000. 63.128.77.30 (talk) 14:57, 16 March 2015 (UTC)[reply]

"The responsibility is defined as a charge assigned to a unique actor to signify its accountabilities concerning a unique business task." This line is irrelevant for the concept defined by Martin. It's not Martin definition. 63.128.77.30 (talk) 15:01, 16 March 2015 (UTC)[reply]