Separation of concerns principle

A concern is a set of information that affects the code of a computer program.

A program that embodies SoC well is called a modular program. Modularity, and hence separation of concerns, is achieved by encapsulating information inside a section of code that has a well-defined interface.

Last updated