• grue@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    13 hours ago

    We could have had Scheme or Python (both of which are also cross-platform, BTW) embedded in the browser instead. And yes, Netscape was seriously considering those two specific languages before Eich oozed into the situation and fucked it all up.

    Javascript did not “need” to happen. The only reasons it exists are Not-Invented-Here and Dunning-Kruger Syndromes (specifically, Netscape wanting something new and vaguely Algol-like that they could name to glom onto the Java hype at the time, and Eich having the inexperience and hubris to think he could hack together a half-assed design in a week and it would somehow turn out okay).

    Yes it’s grown out of something that was originally messy, but a lot of work has been done to make it better.

    Yeah, no shit! Literally millions upon millions of man-hours, probably! Do you have any concept at all of how much better the Web could have been if all that effort had been put towards something actually useful instead of working around Eich’s mistakes?!

    • moseschrute@piefed.social
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      13 hours ago

      I can’t speak to Scheme as I haven’t spent more than a few days using it. Python has a lot of strengths but also a lot of weaknesses. JavaScript has had to evolve with 100% backwards compatibility. The python you enjoy today would have had to evolve differently if it was the language of the browser.

      Look I’m kinda young. Not that young, but too young for Netscape. You clearly lived through more of the history than I did. But imo, the thing ruining the internet isn’t JavaScript, it’s late stage capitalism and greedy companies. You could have Python or Scheme or whatever and late stage capitalism would still have ruined it.

      If you feel so strongly that JavaScript is the issue, why don’t you invest your time in helping Webassebly grow? Imo that’s more useful than complaining about JavaScript.