JavaScript's surprising rise from the ashes of the browser wars on Command Line Heroes |

JavaScript's surprising rise from the ashes of the browser wars on Command Line Heroes

A single Netscape employee wrote JavaScript in 10 days. It's now the most pervasive programming language in the world. Here's the unlikely story of how it happened.

Listen to the Command Line Heroes Podcast

Subscribe now

Get the highlights in your inbox every week.

The third season of the Command Line Heroes podcast continues its look at the history of the programming languages we depend on every day. Episode 3, released today, investigates the origin of JavaScript. Here's the unlikely story of how it happened.

A look back at the browser wars

1995 was a year full of competition over a new frontier. The web browser created by Netscape had been out for a full year already, and the competition was heating up. Clive Thompson recollects the intensity and the excitement in the air during that time. Today we talk about the velocity of technology being faster than ever, and I wonder if it's our recency bias tricking our minds from remembering the buzz in 1995.

"Things were moving so rapidly back then."
—Clive Thompson

The story goes of a single person being "locked in a room" (I hope that's an exaggeration) and creating what is now the most prevalent language of the web. That was 34-year-old Netscape employee Brendan Eich, who chained himself to his desk for 10 days. At the end of those 10 days in 1995, he delivered JavaScript.

Eich's efforts to deliver value to his company also sound like a fulfillment of his passion to write a widely used programming language. This story hits home, especially after hearing about the history of BASIC on episode 2.

The programming community of 1995 did not accept JavaScript with open arms. (I believe the word "derision" was used in the episode.) But it was unpretentious, secretly elegant, based on the best in language design, and sacrificed some bugginess for speed to market. It worked.

"The origins of Firefox can be traced directly to Netscape, a compan­y whose web browser, Netscape Navigator, was the dominant browser before Microsoft developed Internet Explorer. The internal company name for the browser was Mozilla. Eventually, Netscape released the source code for Navigator under an open source license, meaning anyone could see and use the code. A non­profit group was set up to direct the development of browsers using this code. This group became the Mozilla Foundation in 2003."
—Sayak Sarkar, From Netscape To Firefox: The Story Of Mozilla Firefox

This story makes me think about what my 18-year-old niece studying computer science might take away from all of this. A long time ago, very few people were on the internet. One person made a difference for his company. Even though that company wouldn't survive its time, ultimately, he made a difference for all of us. It's a fun story to explore.

A look back at waterfall development

There's a subtle element in the conversation around JavaScript that looks at software lifecycles in 1995. Netscape was far ahead of the curve with three-month development cycles at a time when the most dominant force in technology was releasing updates every four years. It was well before Agile and its Manifesto, before the hyper-scale mantra of "move fast and break things" (which hasn't aged well) and the brilliance of Toyota Kata. That boldness absolutely blows my mind.

Give it a listen

Command Line Heroes' combination of history and present time creates a great story. Give it a listen.

Command Line Heroes will cover programming languages for all of season 3. Subscribe to learn everything you want to know about the origin of programming languages. I would love to hear your thoughts about it in the comments below.

Listen to the Command Line Heroes Podcast

Find out more about why BASIC is a beloved first language and how the next generation will learn to code.
Listen to the Command Line Heroes Podcast

The podcast discusses Python's past and future in the wake of BDFL Guido Van Rossum stepping down.

About the author

I'm happiest at a microphone
Matthew Broberg - Matt is an advocate for open source software and currently the Managing Editor of Enable Architect. He specializes in designing technology communities that develop products and content in a way that tells a powerful story. Matt was an EMC storage expert, VMware vExpert, and former fan of other proprietary technologies. He now focuses on open source and DevRel adoption. He is a serial podcaster, best known for the...