• MyNameIsRichard@lemmy.ml
    link
    fedilink
    arrow-up
    102
    ·
    1 year ago

    When JavaScript was first released, it was a god-send. The alternative was vbscript and if you think JavaScript is bad…

    • lucidwielder@kbin.social
      link
      fedilink
      arrow-up
      27
      ·
      1 year ago

      Very true. I remember vbscript. I still have to write some occasionally. What’s funny is that powershell gets all the attention & security applied to it - but vbscript likely keeps its flaws in the name of backwards compatibility. I’m betting vbscript is a huge attack vector just waiting for some major exploitation that leads to its removal or being severely gimped.

        • allywilson@sopuli.xyz
          link
          fedilink
          arrow-up
          13
          ·
          1 year ago

          Correct. You know how JavaScript is not Java? Same thing. If memory serves me correctly there was a bit of a race to be the next Windows script language between NT4 and 2000 (to replace batch), and it was between VBScript and Kixtart (the former won out).

    • ExaltedWarrior@lemmy.fmhy.ml
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      Yeah, everyone hates JS but that doesn’t mean the existence of JS is a curse. For a long time it has been the best at what it’s commonly used for. Otherwise no one would complain about it because no one would use it.