Search⌘ K
AI Features

Prone to Shortcuts

Understand the limitations of conventional layered architecture, focusing on how shortcuts and flexible layer access lead to increased technical debt and testing challenges. Learn why pushing components down layers becomes common over time and why strict architecture rules are necessary to maintain clean code.

Global rule in a layered architecture

In a conventional layered architecture, the only global rule is that from a certain layer, we can only access components in the same layer or a layer below.

There may be other rules that a development team has agreed upon, and some of them might even be enforced by tooling, but the layered architecture style itself does not impose those rules on ...