Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M1150

Lasagna Code

Lasagna Code
SystemsHigh supportSystems Theory
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

Distinguished from "Spaghetti Code" (chaotic) and "Ravioli Code" (overly granular). Refers to a system that is over-layered, with each layer too thick and too isolated, so that modifying a small feature requires penetrating dozens of layers, making it not only difficult to understand but also extremely costly to change.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

Architectural warning. When you find in an organization that "changing a piece of copy requires five approvals," that is the "lasagna" of organizational structure. Flattening is meant to eliminate such hierarchical resistance.

anchor

Anchor fast decisions

In contrast to "Spaghetti Code" (chaotic entanglement) and "Ravioli Code" (overly granular encapsulation), it refers to a system that is over-layered, with each layer too thick and too isolated, so that changing a small feature requires penetrating dozens of layers. The mechanism is that overly strict boundaries between layers cause "vertical coupling," making the structure appear neat but the cost of modification extremely high.

MINIMUM ACTION

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Spaghetti_codeZH · Explicit
    verified

RELATED MODELS