Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M1349

The Boy Scout Rule

The Boy Scout Rule
BusinessmediumManagement
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

"Leave the campground cleaner than you found it." In programming, it means that every time you modify code, you should also fix a bit of the surrounding messy code, rather than just doing the current task.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

A micro-habit against entropy. Don't wait for a "big cleanup"; through small optimizations during each action, continuously repay technical debt or management debt, maintaining the long-term health of the system.

anchor

Anchor fast decisions

The Boy Scout Rule advocates that every time you leave a piece of code (or system), make it a little cleaner than when you arrived. Through continuous micro-improvements rather than a centralized big cleanup, it curbs system entropy and gradually repays technical debt.

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

RELATED MODELS