User:Jeroen De Dauw/Single Responsibility Principle/06

From semantic-mediawiki.org
Jump to: navigation, search
Jeroen De DauwJeroen De Dauw/Single Responsibility PrincipleUser:Jeroen De Dauw/Single Responsibility Principle/06

The single responsibility principle

Value objects and service objects

  • An object either represents a value or provides a service
  • Mixing both is particularly bad