Skip to content
pstack 中文学习站

principle-laziness-protocol

Updated 2026-10-28

name: principle-laziness-protocol
description: "Apply when refactoring, evaluating diff size, or tempted to add abstractions, layers, or signal threading. Bias toward deletion and the smallest change that solves the problem."
disable-model-invocation: true
  • Consolidate decisions. Do not repeat the same choice in several places. Put it behind one source of truth and pass the result as a simple flag.
  • Minimize the diff. Make the smallest change that solves the problem. Fewer lines beat “elegant” boilerplate.

Thanks for reading

Follow liu xu, who runs this site, for new pstack translations and notes.

公众号「出发向未来」的二维码
WeChat「出发向未来」