User:Jeroen De Dauw/Single Responsibility Principle/07

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

The single responsibility principle

Value objects

  • Simple
  • Easy to construct
  • Rarely mocked
  • Constructed by business logic
  • Typically no interface