• whoisearth@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      4 hours ago

      jQuery still won’t die eh?

      As much as I hate php, JavaScript is an equal pile of shit when it comes to languages.

    • Err(()).unwrap()@lemmy.world
      link
      fedilink
      arrow-up
      12
      arrow-down
      2
      ·
      9 hours ago

      Fuck me, if my choice is between five flavours of Javascript, I’d rather use PHP. I’m developing a QML application and having to work around that abomination that the clinically insane want to call “arrays” in Javascript makes me want to fucking die. There’s also a QList type implemented by QML. It doesn’t help. Array.isArray(qlist) returns false.

      • rumschlumpel@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        7 hours ago

        Node is the only JS framework out of these that could 1:1 replace PHP, Vue.js, jQuery and Ajax (aka vanilla JS) are all clientside which PHP doesn’t do at all, Bootstrap is a CSS library and Spring is Java. That said, clientside JS is usually an anti-user mess and both you and the user are usually better off not using it at all.