Try GOLD - Free
IN DEFENSE OF JAVASCRIPT
WIRED
|March - April 2024
Mock it all you want-but it runs the world. Possibly even literally.

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."
This story is from the March - April 2024 edition of WIRED.
Subscribe to Magzter GOLD to access thousands of curated premium stories, and 9,500+ magazines and newspapers.
Already a subscriber? Sign In
MORE STORIES FROM WIRED

WIRED
Bloodlines
MASTER THE ART OF CLONING. LOCK DOWN COPIES OF THE WORLD'S GREATEST HORSES. THEN DOMINATE THE SPORT OF KINGS. THAT WAS THE PLAN. BUT SOME TECHNOLOGIES ARE JUST A BREEDING GROUND FOR BETRAYAL.
21 mins
September - October 2025

WIRED
The Dose in the Machine
IS A NEW GENERATION OF AI-DESIGNED DRUGS ABOUT TO ARRIVE?
15 mins
September - October 2025

WIRED
WELLNESS GONE WILD
LEAF SWALLOWING, ICEBERG EXFOLIATION, AND OTHER TECHNIQUES FROM EARTH'S ORIGINAL TREND-SPREADING INFLUENCERS.
4 mins
September - October 2025

WIRED
A.I. LOVE YOU
WHAT'S IT LIKE TO BE DEEPLY, SERIOUSLY IN LOVE WITH A CHATBOT? TO FIND OUT, I ORGANIZED A WEEKEND GETAWAY FOR THREE HAPPY COUPLES. WE BARELY SURVIVED.
27 mins
September - October 2025

WIRED
OPERATION INFLUENCE
A HEAD-TO-TOE MARKETING GAME WHERE EVERYONE-YES, EVERYONE!-IS THE DOCTOR.
4 mins
September - October 2025

WIRED
PERFECT HEALTH
THIS SELECT GEAR WILL KEEP YOU FIT, RESTED AND BALANCED IN BODY AND MIND.
6 mins
September - October 2025

WIRED
THE ENSHITTIFICATION OF AMERICAN POWER
First Google and Facebook, then the whole world.
6 mins
September - October 2025

WIRED
The Chemical Cassandra
IN THE PRESENCE OF CERTAIN SCENTS AND CHEMICALS, MILLIONS OF PEOPLE SUFFER INEXPLICABLE, OFTEN DEBILITATING REACTIONS. MY MOTHER IS ONE. ANOTHER IS THE CONDITION'S LEADING SCIENTIFIC AUTHORITY.
21 mins
September - October 2025

WIRED
HOW TRUMP CRUSHED CANCER RESEARCH
WHEN DONALD TRUMP movedback into the White House, the United States was years into its Cancer Moonshot, a multibillion-dollar Democratic effort to halve cancer deaths by 2047. There was a kind of stalemate: New cases of the disease were emerging about as often as before; deaths were ticking steadily lower; the US Food and Drug Administration was approving new treatments, if not quite as quickly as anyone wanted. But the taps of federal funding were open as never before, from the Department of Defense to the Environmental Protection Agency to the largest funder of cancer research in the world, the National Institutes of Health.
2 mins
September - October 2025

WIRED
The Olympics on Steroids
AT FIRST IT WAS DISMISSED AS A CRAZY JOKE. MAKING THE ENHANCED GAMES A REALITY NEEDED A PETER THIEL POSSE, A COUPLE OF RETIRED SWIMMERS, SOME MAGA MONEY, AND A WHOLE LOT OF DRUGS.
23 mins
September - October 2025
Listen
Translate
Change font size