Single Responsibility: One Reason to Change

When one class works out the grades, lays out the report card and emails it, three different people's changes all land in the same class and can break each other; the first SOLID principle, single responsibility, says to give each class one reason to change, and this lesson opens with what SOLID is and where it came from.

By

Updated

Cheat sheet: Single Responsibility: One Reason to Change
Category
Data Structures
Level
Apprentice
Tags
cohesion, OOP, Single Responsibility Principle, SOLID Principles