• IHeartBadCode@kbin.social
    link
    fedilink
    arrow-up
    41
    ·
    1 year ago

    All I needed to read was in the first paragraph.

    Brave Software, the company behind the browser of the same name, was founded by Brendan Eich. He’s best known as the creator of JavaScript from his days at Netscape Communications

    I mean, JS is his baby that’s all there needs to be said about the person’s motivations.

    • wxboss@lemmy.sdf.org
      link
      fedilink
      arrow-up
      15
      ·
      edit-2
      1 year ago

      “JS is his baby that’s all there needs to be said about the person’s motivations.”

      During these formative years of the Web, web pages could only be static, lacking the capability for dynamic behavior after the page was loaded in the browser. There was a desire in the flourishing web development scene to remove this limitation, so in 1995, Netscape decided to add a scripting language to Navigator. They pursued two routes to achieve this: collaborating with Sun Microsystems to embed the Java programming language, while also hiring Brendan Eich to embed the Scheme language.”

      https://en.wikipedia.org/wiki/JavaScript

      I think you’re confusing the reasons behind the initial intent of JS versus what it has evolved into almost 30 years later.

      • Danc4498@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        Imagine a world where Java integrated into the web was just as standard as JavaScript is now.

        • WASM is basically Java applets but standardised, even acting as a binary blob to run websites in. Web applications written in frameworks like Flutter just render a fullscreen `` element and use obfuscated code to render what looks like a web page to a fancy picture element.

          We lost the buggy plugins and the security holes, but the idea of “put a blob in a browser and run it” just keeps getting reinvented by browsers.

      • sarsaparilyptus@beehaw.org
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        During these formative years of the Web, web pages could only be static, lacking the capability for dynamic behavior after the page was loaded in the browser.

        And it was better. Frankly, http was a mistake, humanity would be healthier and happier if we stopped at gopher.