Skip to content
CONTACT

Greenspun's tenth rule

PROGRAMMING AND BUGS

Any sufficiently complicated C or Fortran program contains an ad hoc, slow, bug-ridden implementation of half of Common Lisp.

— Philip Greenspun, Around 1993; the first nine rules never existed
VIDEO.EXE16:9

It's called the 'tenth' but it's the only one. The other nine were never written. That alone makes it the most honest rule in computing: it promises nine things and delivers none of them, like certain quotes.

The point is that large programs end up reinventing, badly, powerful tools that already existed: a mini configuration language, a home-made interpreter, a rule system written in a text file that at some point acquires loops.

My old management system had a settings file. Then it learnt conditions. Then variables. One day it asked to be allowed to declare functions. We switched it off in time. Now we keep it in a drawer, but at night I can hear it compiling.