TranslateProject/sources/tech/20190723 JavaScript-s surprising rise from the ashes of the browser wars on Command Line Heroes.md
DarkSun fb1621c24c 选题: 20190723 JavaScript's surprising rise from the ashes of the browser wars on Command Line Heroes
sources/tech/20190723 JavaScript-s surprising rise from the ashes of the browser wars on Command Line Heroes.md
2019-07-24 00:53:03 +08:00

70 lines
5.7 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (JavaScript's surprising rise from the ashes of the browser wars on Command Line Heroes)
[#]: via: (https://opensource.com/article/19/7/command-line-heroes-javascript)
[#]: author: (Matthew Broberg https://opensource.com/users/mbbroberghttps://opensource.com/users/mbbroberghttps://opensource.com/users/mbbroberghttps://opensource.com/users/petercheerhttps://opensource.com/users/marcobravohttps://opensource.com/users/madtom1999)
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][1]
The third season of the [Command Line Heroes][2] 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][3] 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][4] 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][5].
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][6] 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][7]
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][8] and its Manifesto, before the hyper-scale mantra of "move fast and break things" (which [hasn't aged well][9]) and the brilliance of [Toyota Kata][10]. 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][2] 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.
--------------------------------------------------------------------------------
via: https://opensource.com/article/19/7/command-line-heroes-javascript
作者:[Matthew Broberg][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/mbbroberghttps://opensource.com/users/mbbroberghttps://opensource.com/users/mbbroberghttps://opensource.com/users/petercheerhttps://opensource.com/users/marcobravohttps://opensource.com/users/madtom1999
[b]: https://github.com/lujun9972
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/command-line-heroes-520x292.png?itok=s_F6YEoS (Listen to the Command Line Heroes Podcast)
[2]: https://www.redhat.com/en/command-line-heroes
[3]: https://www.clivethompson.net/
[4]: https://www.davemanuel.com/investor-dictionary/recency-bias/
[5]: https://thenewstack.io/brendan-eich-on-creating-javascript-in-10-days-and-what-hed-do-differently-today/
[6]: https://opensource.com/19/7/command-line-heroes-ruby-basic
[7]: https://sayaksarkar.wordpress.com/2012/03/12/from-netscape-to-firefox-the-story-of-mozilla-firefox/
[8]: https://opensource.com/article/18/10/what-agile
[9]: https://hbr.org/2019/01/the-era-of-move-fast-and-break-things-is-over
[10]: https://en.wikipedia.org/wiki/Toyota_Kata