• JohnnyCanuck@lemmy.ca
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    1 year ago

    I was recently coding in javascript and it was actually fucking awesome. Not because it’s a good language or anything like that…

    It’s awesome because ChatGPT/copilot is really really good at writing/analyzing/debugging javascript. I’m guessing it’s because almost everything ever written in javascript is basically open source, so there is a ton of LLM training material. But whatever the reason, pretty much anything I asked it for, it could write, and I got a ton of shit done super quick.

    • SkyNTP@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

      Debatable whether minified JS is “open source”, in the same way that compiled machine code is technically still visible, just unfeasible to comprehend (despite, or perhaps in spite of decompilers).

      Anyway, minified JS lacks comments and prompts to read from. The explanation I have accepted is just the sheer massive quantity of JS code and libraries coupled with all the documentation surrounding it.