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

Atwood's Law

"Any application that can be written in JavaScript will eventually be written in JavaScript."
In plain English

What does Atwood's Law mean?

JavaScript is so universally available, the one language every web browser runs natively, that over time software of nearly every kind gets rewritten in it. What began as browser scripting steadily expands to cover domains once reserved for other languages.

Reliability

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

Lineage
2007COINED
How it works

How does Atwood's Law work?

JavaScript's ubiquity in browsers gave it the widest install base of any runtime, so developers gravitate to it to reach the most users with the least friction: a practical expression of the principle of least power. Later platforms pushed it beyond the browser: Node.js brought it to servers and command lines, Electron to cross-platform desktop apps, and WebAssembly and fast engines to performance-sensitive work like graphics and machine learning, each step widening the set of applications it can absorb.

Where you'll see it

What are examples of Atwood's Law?

Desktop via Electron VS Code and Slack ship as desktop apps built on Electron, which bundles a Chromium and Node.js runtime so the program is essentially HTML, CSS, and JavaScript running natively: JavaScript colonising the desktop.
Servers via Node.js Node.js took the V8 engine out of the browser and let JavaScript run web servers, APIs, and tooling: a domain long dominated by Java, Python, PHP, and Ruby.
Machine learning in the browser Libraries like TensorFlow.js run models directly in the browser, while WebGL, WebGPU, and WebAssembly enable in-browser graphics and compute: extending JavaScript into numeric territory once considered off-limits.
Types & variants

What are the types of Atwood's Law?

The principle of least power§

The serious idea Atwood was riffing on, articulated by Tim Berners-Lee and codified by the W3C: choose the least powerful language suitable for a purpose, to maximise reusability and analysability, which favours portable, ubiquitous tools.

Zawinski's law§

A kindred humorous adage about software expanding to fill its niche, every program growing until it can read mail, from the same genre of tongue-in-cheek laws of software.

Why it matters

Why does Atwood's Law matter?

It named, early and memorably, the trend that turned JavaScript from a browser toy into a near-universal application language. Coined as a joke in 2007, it has been broadly borne out by Node.js, Electron, and WebAssembly: a folk law that predicted a real and consequential shift in how software is built.

Working with it

How do you apply Atwood's Law?

  • Expect JavaScript to reach your domain — when weighing platforms, assume the reach and momentum of the web runtime will eventually make a JavaScript option viable, even in areas it once couldn't touch.
  • Separate availability from suitability — the law describes where JavaScript spreads because it can run everywhere, not where it is the best tool: plenty of applications are still better written elsewhere.
  • Take it as observation, not mandate — it is a witty prediction about trends, not a rule that you should write everything in JavaScript.
Where it breaks down

What are the limits of Atwood's Law?

It is a humorous, observational adage (Atwood coined it 'in the spirit of recent memes' as a corollary joke), not a scientific or formal law. It is unfalsifiable as literally stated (there is always an 'eventually'), and it reflects a trend rather than a mechanism: critics note it describes JavaScript's availability and momentum, not its suitability, and many applications remain better written in other languages. It should be read as folklore that trends have largely vindicated, not as engineering necessity.

What it doesn't say

What are common misconceptions about Atwood's Law?

It is not advice to write everything in JavaScript, nor a claim that JavaScript is the best language for any task, only that its ubiquity draws ever more kinds of software toward it. Its 'vindication' is real but rests on trend commentary rather than a second formal statement from Atwood.

Is it real?

Is Atwood's Law real?

It is a saying, not a finding. Atwood's Law 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 Atwood's Law come from?

Coined by Jeff Atwood, Coding Horror blogger and co-founder of Stack Overflow, in his 17 July 2007 post 'The Principle of Least Power', where he proposed it explicitly as a corollary to the W3C's rule of least power and named it after himself in the spirit of the meme.

Sources

Sources & further reading

  1. 1Atwood, J. (2007). "The Principle of Least Power." Coding Horror. — the post coining the law, dated 17 July 2007.primary
  2. 2"Atwood's Law," Wiktionary. — the definition, attribution, and date.secondary

Everything above traces to blog.codinghorror.com and en.wiktionary.org, 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.