SOLID: Part 1 – The Single Responsibility Principle

By Patkos Csaba Single Responsibility (SRP), Open/Close, Liskov’s Substitution, Interface Segregation, and Dependency Inversion. Five agile principles that should guide you every time you write code.   The Definition of the Single Responsibility Principle A class should have only one reason to change. Defined by Robert C. Martin in his book Agile Software Development, Principles, […]