Atwood's Law
"Any application that can be written in JavaScript will eventually be written in JavaScript."
"Any application that can be written in JavaScript will eventually be written in JavaScript."
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.
Rated Folk-adage: a proverb or saying, not a scientific finding. The other 24.
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.
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.
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.
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.
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.
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.
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.
The best-known laws are the least likely to rest on measurement.
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.
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.