Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4477

Inversion of Control / Hollywood Principle

Inversion of Control / Hollywood Principle
BusinessHigh supportManagement
Included
account_tree

Version 1.0.0 · Updated 2026-07-28

CORE DEFINITION

Inversion of Control (IoC) is a design principle in object-oriented programming that can be used to reduce the coupling between computer code. The most common way to implement it is Dependency Injection (DI), and another way is called Dependency Lookup.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

Inversion of Control (IoC) is a design principle in object-oriented programming that can be used to reduce the coupling between computer code. The most common way to implement it is Dependency Injection (DI), and another way is called Dependency Lookup.

anchor

Anchor fast decisions

Traditional programs actively call libraries (control flow resides in the application); in IoC, the framework holds the main loop and calls application code at appropriate times ("Don't call us, we'll call you"). The control of flow is moved from components to the container/platform, achieving decoupling and pluggability.

MINIMUM ACTION

In progress 0/1

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
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E6%8E%A7%E5%88%B6%E5%8F%8D%E8%BD%ACZH · Explicit
    verified

RELATED MODELS