Tag Archives: Single-responsibility

Single Responsibility Principle

Definition: According to Uncle Bob Martin “A class should have one, and only one, reason to change” According to Wikipedia “Every object should have a single responsibility, and that responsibility should be entirely encapsulated by the class.  ” Applicability:  We can apply this idea into different level of our code such as: »    Method/Function:  … Read More »