Difference between Concern and Responsibility ( ie difference between SRP and SoC )?



Category : Web Design

SRP - each class should have just one responsibility ( ie reason to change)
Separation of Concerns is the process of breaking a computer program into distinct features that overlap in functionality as little
as possible. A concern is any piece of interest or focus in a program.
(Concern == feature of system. )


a) To my understanding the only difference between the two is that SRP tries to separate responsibilities into different classes and SoC tries to separate concerns into different modules?!


b) If assumption under a) is correct, what is the difference between a concern and a responsibility ( besi


View Replies

Related to : Difference between Concern and Responsibility ( ie difference between SRP and SoC )?


Difference Between Social Responsibility & Ethics
Category : Culture & Society
Though the terms "ethics" and "social responsibility" are often used interchangeably in business, the media and everyday life, the two terms mean two very different things that. For some individuals, the use of the terms interchangeably may be justified and even correct. For the general population a

View Replies


Difference Between Obedience & Responsibility in Classroom Management
Category : Education
Between math, science, language arts and history, classroom instructors teach life lessons about ethics and integrity. Some argue that teaching these lessons is a teacher's most important responsibility. Whatever the degree of personal development instruction a teacher chooses, each instructor striv

View Replies


Difference Between an Advertiser's Ethics & Social Responsibility
Category : Business
Some cynics would say advertising ethics do not exist, but the truth is that advertisers are quite serious about being ethical. To most, this means being as honest and truthful as possible. Social responsibility refers to doing the right thing for society. A socially responsible advertiser thinks ab

View Replies


Difference between Single Responsibility Principle and Separation of Concerns
Category : Web Design

What is the difference between Single Responsibility Principle and Separation of Concerns?


View Replies


What is the difference between the Chain of Responsibility and Command Design Behavioral Patterns?
Category : Programming Languages

I have the book Design Patterns, by Grady Booch, but I am confused on the difference between the Chain of Responsibility and Command design patterns? Can anyone offer some clarity?


I am trying to figure out which one to use in a mini server system where you can send a command like


View Replies


The Difference Between Corporate Philanthropy & Corporate Social Responsibility
Category : Business
Both corporate philanthropy and corporate social responsibility help define a company's reputation and image and create both goodwill with the community and prospective customers. They're also growing trends in the business community, with many corporations setting up departments dedicated to philan

View Replies


Same code to display report on sql2008 ReportServer, but difference result on difference web project
Category : ASP & ASP.net

Hi,

There is webform to display report on reportserver.  It works fine in one of web project. but it don't on another project.  I am sure the aspx and cs file are same because i just copied.

Here is the code:

     &a


View Replies


Difference lambda, scope, class method in Rails - difference & best practice
Category : Programming Languages
The code snippet has three methods: lambda, scope and class method.All of them returns the same results.Questions:Is there any best practise in Ruby/Rails when it is prevered to use one over the other ?In what cases would you use lambda, scope or class method ( best practices ). class Cars < Acti

View Replies


the difference between IList and ICollection.And the difference between interface or concrete class instance
Category : ASP & ASP.net

As a&nbsp;return paramter,what is the difference between IList and ICollection.

What is the difference of the following code(The code might not be correct,just to show the idea):

IList list = new List();
List list = new List();

Thanks!


View Replies


Is there a key binding for Next Difference and Previous Difference in Eclipse Compare Editor?
Category : Web Design

In compare editor there are buttons


Next Difference
Previous Difference
Next Change
Previous Change

I'd like to assign key bindings for Next Difference and Previous Difference buttons. However in preferences I see only Select Next Change and Select Previous Change


View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .