Vol. I a living index of named laws · est. mmxxvi no ads · no tracking
The Law Tomeindex of named laws

Greenspun's Tenth Rule

"Any big enough C or Fortran program contains a bad reimplementation of half of Lisp."
In plain English

What does Greenspun's Tenth Rule mean?

Large programs written in low-level languages tend to reinvent, badly, the high-level features Lisp provides natively: garbage collection, dynamic dispatch, first-class functions, an interactive loop, runtime metaprogramming. Instead of getting these for free, the program grows an ad hoc, informally specified, bug-ridden, slow version of each.

Reliability

Rated Folk-adage: a proverb or saying, not a scientific finding. The other 24.

Lineage
1993COINED
How it works

How does Greenspun's Tenth Rule work?

As a system's complexity grows, it accretes configuration formats, macro and preprocessor layers, plugin systems, and eventually an ad hoc embedded interpreter or metaprogramming layer: an unplanned, informal reimplementation of the abstraction machinery a Lisp runtime already supplies.

Where you'll see it

What are examples of Greenspun's Tenth Rule?

Config languages that grow up Large systems frequently sprout their own configuration or expression mini-languages that creep toward Turing-completeness: an ad hoc interpreter reinventing evaluation, exactly as the rule predicts. Illustrative rather than a sourced case study.
Bolted-on rule engines Enterprise applications commonly graft on rule engines or embedded scripting to regain the runtime flexibility a Lisp image gives natively: the metaprogramming layer arriving late and awkwardly.
Embedded interpreters Games and large C++ applications embed scripting virtual machines once static compiled code proves too rigid: the 'embedded interpreter' the rule anticipates.
Types & variants

What are the types of Greenspun's Tenth Rule?

Morris's corollary§

Attributed to Robert Morris: '...including Common Lisp.' The joke is that real Lisp implementations often have a compiled low-level core, so they too contain the ad hoc half-of-Lisp. Well-attested folklore rather than a dated source.

The inner-platform effect§

A close cousin: a system so configurable it becomes a poor reimplementation of the very platform it runs on (the same convergence toward a homegrown, worse version of what already exists).

Why it matters

Why does Greenspun's Tenth Rule matter?

It captures a genuine pattern in the evolution of large software (the drift toward homegrown, informal versions of abstractions that mature languages already provide), while functioning as a piece of Lisp-advocacy wit. It is a memorable warning that unplanned complexity tends to reinvent, poorly, what better tools offer natively.

Working with it

How do you apply Greenspun's Tenth Rule?

  • Watch for the accidental interpreter — when a system starts growing its own config language, rule engine, or scripting layer, recognise it as reinventing evaluation, and decide whether to adopt a real language instead.
  • Reach for mature abstractions early — if you find yourself rebuilding garbage collection, dispatch, or metaprogramming by hand, that is the rule biting; prefer tools that supply them.
  • Take it as folklore, not proof — it is an in-joke about a tendency, not a measured claim; use it to notice a pattern, not to settle a language war.
Where it breaks down

What are the limits of Greenspun's Tenth Rule?

It is a humorous adage and Lisp-advocacy in-joke, not an empirical claim, and it is unfalsifiable as stated — 'sufficiently complicated' and 'half of' are undefined. It is self-aware about its own naming gag (there are no rules one through nine), and Morris's corollary undercuts it by noting Lisp implementations themselves rest on lower-level cores. Cite it as folklore about programming culture, never as measured fact.

What it doesn't say

What are common misconceptions about Greenspun's Tenth Rule?

There are no preceding nine rules: the 'tenth' is itself the joke; Greenspun has said he just wanted a memorable name. And it does not literally claim programs contain Lisp; it claims they reinvent Lisp's features informally and badly. The exact punctuation of the line varies between sources, and its date is only approximate.

Is it real?

Is Greenspun's Tenth Rule real?

It is a saying, not a finding. Greenspun's Tenth Rule is rated Folk-adage here: it circulates because it is memorable and often true, not because anyone measured it.

Rated from two sources. 25 of the 1,116 entries carry this rating. How the scale works.

5 of 69entries in software & systems carry the same rating

The best-known laws are the least likely to rest on measurement.

Origin

Where did Greenspun's Tenth Rule come from?

Coined by Philip Greenspun in the early-to-mid 1990s (commonly cited as around 1993, though he says he no longer recalls where he first wrote it). Robert Morris later appended the corollary '...including Common Lisp'.

Known elsewhere as

What is Greenspun's Tenth Rule called in other languages?

  • Japaneseグリーンスパンの第10法則
  • RussianДесятое правило Гринспена
  • Chinese格林斯潘第十定律

3 languages, as recorded on Wikidata. These are names the idea already goes by, not translations we made. The whole index by language.

Sources

Sources & further reading

  1. 1Greenspun's tenth rule, Wikipedia. — the canonical wording, the 'no rules 1–9' gag, and Morris's corollary.secondary
  2. 2philip.greenspun.com — Greenspun's own page, including his note that he cannot recall the original source.primary

Everything above traces to en.wikipedia.org and philip.greenspun.com, two sources in all, one of them the original publication rather than an account of it. Nothing is written from memory, and the method is written down. Spot an error or a better source? Suggest a fix.

What we checked

  • 1,116entries in the tomeListed one by one on the browse page.
  • 1,116of them citing a sourceOpen any entry: its sources sit at the foot of the page.
  • 2,489source references in allEach is named, and linked wherever the source is online.