Lasagna Code
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
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 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/4Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Spaghetti_codeverified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS