Close Menu
Best in TechnologyBest in Technology
  • News
  • Phones
  • Laptops
  • Gadgets
  • Gaming
  • AI
  • Tips
  • More
    • Web Stories
    • Global
    • Press Release

Subscribe to Updates

Get the latest tech news and updates directly to your inbox.

What's On
Review: TerraMow V1000

Review: TerraMow V1000

16 August 2026
Review: Samsung Galaxy Z Fold8 and Z Fold8 Ultra

Review: Samsung Galaxy Z Fold8 and Z Fold8 Ultra

16 August 2026
Astronomers Discover the Existence of a Black Hole Star

Astronomers Discover the Existence of a Black Hole Star

16 August 2026
Facebook X (Twitter) Instagram
Just In
  • Review: TerraMow V1000
  • Review: Samsung Galaxy Z Fold8 and Z Fold8 Ultra
  • Astronomers Discover the Existence of a Black Hole Star
  • Inside the Experimental Traps Scientists Set for Ghostly Neutrinos
  • Samsung may be going in for the full iOS-esque Liquid Glass look in OneUI 9.5
  • Apple is reportedly looking to expand its smart home lineup with smart displays, cameras, and updated HomePods
  • Google may have accidentally leaked a new fitness tracker with a display
  • AI companies may be gobbling up old books, and I really hope they aren’t destroying them
Facebook X (Twitter) Instagram Pinterest Vimeo
Best in TechnologyBest in Technology
  • News
  • Phones
  • Laptops
  • Gadgets
  • Gaming
  • AI
  • Tips
  • More
    • Web Stories
    • Global
    • Press Release
Subscribe
Best in TechnologyBest in Technology
Home » JavaScript Runs the World—Maybe Even Literally
News

JavaScript Runs the World—Maybe Even Literally

News RoomBy News Room4 March 20243 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
JavaScript Runs the World—Maybe Even Literally
Share
Facebook Twitter LinkedIn Pinterest Email

Lex Fridman has done many long interviews on his popular podcast. Even so, the episode with the legendary programmer John Carmack has an unhinged director’s-cut feel to it. Over five hours, Carmack dishes on everything from vector operations to Doom. But it’s something Fridman says, offhand, that really justifies the extended run time: “I think that if we’re living in a simulation, it’s written in JavaScript.”

To review: JavaScript is what makes static web pages “dynamic.” Without it, the internet would resemble nothing so much as an after-hours arcade, lifeless and dark. These days, the language is used in both front- and backend development for a whole host of mobile platforms and apps, including Slack and Discord. And the main thing to understand about it, in the context of Fridman’s nerdy koan, is this: For any self-respecting programmer, admitting to actually liking JavaScript is something of a faux pas—much like an art-house filmmaker confessing to Marvel fandom.

I suppose this has something to do with the fact that JavaScript was created in less time than it takes to home-brew a jar of kombucha: 10 days. In 1995, Netscape hired a programmer named Brendan Eich to create a language to embed in its browser, Netscape Navigator. Originally called LiveScript, the language was renamed JavaScript to piggyback on the hype around an unrelated language called Java, which had been introduced earlier that year. (Asked the difference between Java and JavaScript, a programmer is likely to joke: “Java is to JavaScript what car is to carpet.”) To this day, few people consider JavaScript a particularly well-designed language, least of all Eich. “I perpetrated JavaScript in 1995,” he once said, “and I’ve been making up for it ever since.”

What was his crime, exactly? You can easily find scads of blog posts, memes, and Reddit threads sandbagging JavaScript, but my favorite is a four-minute talk by software engineer Gary Bernhardt titled “Wat.” Imagine, for starters, showing a group of non-English speakers the present and past forms of verbs like boil (boil/boiled) and chew (chew/chewed). Then, when you ask them for the conjugation of eat, who could blame them for answering eat/eated? Similarly, the “Wat” talk is a blooper reel of JavaScript’s quirks and unpredictable behaviors. Let’s say you want to sort a list of numbers: [50, 100, 1, 10, 9, 5]. Calling the built-in sort function in any sane language returns the list in numerically ascending order: [1, 5, 9, 10, 50, 100]. Doing so in JavaScript returns [1, 10, 100, 5, 50, 9], where 10 and 100 are considered larger than 5. Why? Because JavaScript interprets each number as a string type and does lexical sorting, not numerical sorting. Total insanity.

When Fridman says JavaScript runs the world, in other words, what he means is that our world is, like the underlying source code, massively screwed up and incomprehensible. It’s the equivalent of pronouncing, with a sigh, that considering the sorry state of the planet, the Universal Declaration of Human Rights must have been written in Comic Sans.

At this point, I should confess that while JavaScript is not my favorite language, I like it. Adore it, in fact. So I can’t help but feel a flare of disapproval whenever a certain fraternity of programmers polemicizes against it. Often they focus on flaws that were dealt with years ago. To dwell on JavaScript’s original shortcomings is to overlook the fact that any piece of software—and every programming language is, in essence, a suite of software—is amenable to revision and improvement.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleWWE 2K24 review: the wrestling world gets its Super Smash Bros. Ultimate
Next Article If you’re still gaming on 16GB of RAM, you’re missing out

Related Articles

Review: TerraMow V1000
News

Review: TerraMow V1000

16 August 2026
Review: Samsung Galaxy Z Fold8 and Z Fold8 Ultra
News

Review: Samsung Galaxy Z Fold8 and Z Fold8 Ultra

16 August 2026
Astronomers Discover the Existence of a Black Hole Star
News

Astronomers Discover the Existence of a Black Hole Star

16 August 2026
Inside the Experimental Traps Scientists Set for Ghostly Neutrinos
News

Inside the Experimental Traps Scientists Set for Ghostly Neutrinos

16 August 2026
Samsung may be going in for the full iOS-esque Liquid Glass look in OneUI 9.5
News

Samsung may be going in for the full iOS-esque Liquid Glass look in OneUI 9.5

16 August 2026
Apple is reportedly looking to expand its smart home lineup with smart displays, cameras, and updated HomePods
News

Apple is reportedly looking to expand its smart home lineup with smart displays, cameras, and updated HomePods

16 August 2026
Demo
Top Articles
5 laptops to buy instead of the M4 MacBook Pro

5 laptops to buy instead of the M4 MacBook Pro

17 November 2024133 Views
ChatGPT o1 vs. o1-mini vs. 4o: Which should you use?

ChatGPT o1 vs. o1-mini vs. 4o: Which should you use?

15 December 2024112 Views
Costco partners with Electric Era to bring back EV charging in the U.S.

Costco partners with Electric Era to bring back EV charging in the U.S.

28 October 2024100 Views

Subscribe to Updates

Get the latest tech news and updates directly to your inbox.

Latest News
Apple is reportedly looking to expand its smart home lineup with smart displays, cameras, and updated HomePods News

Apple is reportedly looking to expand its smart home lineup with smart displays, cameras, and updated HomePods

News Room16 August 2026
Google may have accidentally leaked a new fitness tracker with a display News

Google may have accidentally leaked a new fitness tracker with a display

News Room16 August 2026
AI companies may be gobbling up old books, and I really hope they aren’t destroying them News

AI companies may be gobbling up old books, and I really hope they aren’t destroying them

News Room16 August 2026
Most Popular
The Spectacular Burnout of a Solar Panel Salesman

The Spectacular Burnout of a Solar Panel Salesman

13 January 2025137 Views
5 laptops to buy instead of the M4 MacBook Pro

5 laptops to buy instead of the M4 MacBook Pro

17 November 2024133 Views
ChatGPT o1 vs. o1-mini vs. 4o: Which should you use?

ChatGPT o1 vs. o1-mini vs. 4o: Which should you use?

15 December 2024112 Views
Our Picks
Inside the Experimental Traps Scientists Set for Ghostly Neutrinos

Inside the Experimental Traps Scientists Set for Ghostly Neutrinos

16 August 2026
Samsung may be going in for the full iOS-esque Liquid Glass look in OneUI 9.5

Samsung may be going in for the full iOS-esque Liquid Glass look in OneUI 9.5

16 August 2026
Apple is reportedly looking to expand its smart home lineup with smart displays, cameras, and updated HomePods

Apple is reportedly looking to expand its smart home lineup with smart displays, cameras, and updated HomePods

16 August 2026

Subscribe to Updates

Get the latest tech news and updates directly to your inbox.

Facebook X (Twitter) Instagram Pinterest
  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact Us
© 2026 Best in Technology. All Rights Reserved.

Type above and press Enter to search. Press Esc to cancel.