结绳记事 (Jié Shéng Jì Shì) — Tying Knots to Record Events

The Concept

English: Technical Debt — The accumulated cost of suboptimal design choices made to achieve short-term goals; borrowing against future productivity.

Chinese: 结绳记事 (Jié Shéng Jì Shì) — Tying knots to record events.


Cultural Origin

Before writing, ancient Chinese used knotted cords (结绳) to record information—knots of different sizes, positions, and colors representing different quantities and events. The I Ching mentions: “In ancient times, people tied knots to govern.”

This system worked for simple records but became increasingly unwieldy as societies grew complex. The knots accumulated—each one necessary at the time, but together creating an incomprehensible tangle. Eventually, the system had to be replaced entirely by writing.

The knots are technical debt: short-term solutions that accumulate into long-term problems.


The Knots as Accumulated Cost

Technical debt is the knotted cords:

  • Short-term necessity — Knots were faster than developing writing
  • Accumulating complexity — Each knot made the next one harder to add
  • Decreasing comprehensibility — Eventually no one understood the whole system
  • Systemic replacement required — The only solution was a new system (writing)

Refactoring is the invention of writing—expensive in the short term, necessary for long-term viability.


The Psychology of Knot-Tying

Why did people keep tying knots?

  • Immediate pressure — The record was needed now
  • Path dependence — Knots were how records were kept
  • Sunk cost — So many knots already; switching feels wasteful
  • Underestimation — Each new knot seems manageable

No one knot was the problem. The problem was the accumulation—debt compounding until the system collapsed under its own weight.


Historical Manifestations

  • The Imperial Bureaucracy: Each dynasty added new offices, titles, and procedures to solve immediate problems. By the Qing, the system was so complex that reform was nearly impossible.
  • The Examination Essay Format: The eight-legged essay (八股文) began as a reasonable structure but accumulated so many rules that it measured only rule-following, not ability.
  • The Great Wall: Each dynasty added to the Wall, creating a patchwork that was expensive to maintain and ineffective against modern armies.

Legalist Perspective

Han Feizi would have understood technical debt. He advocated for clear, consistent systems that could be understood and enforced. “法不阿贵,绳不挠曲” (The law does not favor the noble; the measuring cord does not bend for the crooked).

The Legalist solution: periodically cut the knots and start fresh. Maintenance is cheaper than collapse.


Modern Applications

Technical debt appears in:

  • Software where quick fixes accumulate into unmaintainable code
  • Infrastructure where patchwork repairs defer major replacement
  • Organizations where temporary processes become permanent
  • Personal habits where shortcuts become dysfunctional patterns

Each is a knot tied to solve an immediate problem, now part of an incomprehensible tangle.


The Lesson

The knotted cords teach that short-term solutions have long-term costs. The wise builder:

  1. Recognizes when a solution is a knot, not writing
  2. Pays down debt before it accumulates
  3. Refactors when the cost of maintenance exceeds the cost of replacement
  4. Builds systems that can evolve without accumulating debt

正如易经所言:“上古结绳而治,后世圣人易之以书契。” (In ancient times, knots were tied to govern; later sages replaced them with writing.)

The knots served their purpose. But eventually, you need writing. Pay your technical debt before the system collapses.