3 ms·
1. I think he mentions it because it is an interesting part of JS's birth. There are some ambiguous things about JS that makes people ask, why is this the way i
by jsnk 11y ago
1. I think he mentions it because it is an interesting part of JS's birth. There are some ambiguous things about JS that makes people ask, why is this the way it is? Well, one explanation is that, it wasn't a carefully planned language in its conception. Someone needed some language that worked on top of browsers really soon and Eich had to deliver something. So he must have cut corners and made some difficult pragmatic decisions to just make a language that just works on browser. "I made this in 10 days" goes perfectly with this story Eich wants to tell. It's catchy and understandable.
2. O please. Stop with this arrogance. Even if you didn't mean it, it totally comes off as "JS sucks" comment. JS as a language has a huge value in it being a first mover and generating network effect. Would you rather have that we use Java VM on browsers? Or would you rather have 12 different languages used in differently, implemented differently in 12 different browsers? To make matters worse, would you like browsers to change its languages based on what's considered a flavor of the week?