Skip to content

SOLID

SOLID (Single Responsibility, Open-Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion)

  • SRP (Single responsibility principle), en klasse bør kun have et ansvar.