User:Jeroen De Dauw/Single Responsibility Principle/094

From semantic-mediawiki.org
Jump to: navigation, search

has presentation title::The single responsibility principle

__NOFACTBOX__

The story of EntityId

Step 3: EntityId::newFromText()

  • Again a less bad place to put the logic
  • Still static
  • Still pulling in global state
  • Still violating SRP - value object + parsing service