Separation of Concerns
- •
What it is
- •
dividing a system into parts, each responsible for one distinct aspect, so that no part's logic overlaps with another's
- •
- •
- •
Example
- •
MVC web architecture — Model handles data/business logic, View handles presentation, Controller handles application flow; mixing all three into one file violates the principle
- •
- •
Related