Narrowest Concern

Kind: principle

Layer: Structural Core

Record: architecture:narrowest-concern

Severity: mandatory

Scope: file

Canonical: Ontology

A design rule that a file is classified under the narrowest declared role that describes it accurately.

Listed in Architecture principles, after One Concern Per File and before Layer Spine Precedence.

Requires

Reinforces

Enables

Conflicts with

Contracts

Violated by

Refactored by

Severity

Category

Enabled by

Linked from