| >If only the conversations between Sun and Netscape had gone a little differently back in the day, and we'd had a single language/system in the browser Brendan Eich said there were discussions with Sun (e.g. Bill Joy) and Marc Andreessen and all agreed[1] there should deliberately be 2 languages instead of 1 in the Netscape browser: (1) an "easier/simpler" scripting type of language LiveScript aka Javascript (2) a "professional" compiled type of language like Java for more complex applications So, it wasn't an accident, or case of NIH Not Invented Here, or corporate bickering. What they didn't foresee in 1994 is that the non-professional Javascript would end up adding more (pro) features that it enabled it to eliminate the need for Java Applets. [1] deep link to B.E. explanation: https://youtu.be/krB0enBeSiE?t=24m30s |
Instead Flash took that spot! Only because Flash eventually also ended up sucking too bad (on mobile) did we get the Javascript revolution.
If Java sucked less and developed at the same pace as Flash did, but was open enough that the browsers could implement their own <applet> runtime replacements (for instance if Java was more important for the web than for the server, Google may have bought Sun instead of Oracle), we would probably live in a very different world today.