User:Jeroen De Dauw/Single Responsibility Principle/00

From semantic-mediawiki.org

The single responsibility principle

The S in SOLID

The first of the first 5 principles

  • An object should have one responsibility
  • The reponsibility should be entirely encapsulated by this object