• starman@programming.dev
      link
      fedilink
      arrow-up
      30
      arrow-down
      9
      ·
      1 year ago

      Terrible type system, terrible standard library, terrible compatibility and lack of many features, compared to C# for example.

      • Ricaz@lemmy.world
        link
        fedilink
        arrow-up
        25
        arrow-down
        9
        ·
        1 year ago

        All of those things are by design and comparing JS to a fully fledged OOP language is just the sign of a clueless developer.

        The JS standard is well defined and compatibility has nothing to do with the language itself

        • FlashPossum@social.fossware.space
          link
          fedilink
          arrow-up
          34
          arrow-down
          6
          ·
          1 year ago

          Terrible type system, terrible standard library, terrible compatibility and lack of many features

          All of those things are by design

          That makes it even worse.

          • Ricaz@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Lots of languages are typeless and the standard library is weak because web (NodeJS is good but npm is shit)

            • tool@r.rosettast0ned.com
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              1 year ago

              I hate Node and NPM so much that I have a physical reaction to just seeing the words now.

              I already disliked Node & NPM quite a bit, but the hatred and disgust got to the point it is now after having to write a CI/CD pipeline in Groovy/Jenkins for a Node site that that our devs were building. I had to automate the build/deployment of Satan’s favorite framework in Satan’s favorite language. I came pretty close to quitting.

              It’s out the door now, but I’m in the middle of reimplementing the pipeline in Github Actions so I don’t drink myself to death when they come knocking to do it again.

          • proton_lynx@lemmy.world
            link
            fedilink
            arrow-up
            8
            arrow-down
            4
            ·
            1 year ago

            I think the whole ecosystem around the language is enough to understand it sucks. The tools, the build system, etc. Plus, I don’t like Microsoft.

            • lobut@lemmy.ca
              link
              fedilink
              arrow-up
              4
              ·
              1 year ago

              I mean old school Visual Studio made it restrictive in the past.

              I figured with VS Code, .NET core, NuGet and stuff made it better.

              I won’t fight back on MS hatred.

            • starman@programming.dev
              link
              fedilink
              arrow-up
              4
              arrow-down
              1
              ·
              1 year ago

              What’s wrong with the tools? Rider is the best IDE I’ve used, visual studio it’s that bad ether

          • outdated_belated@lemmy.sdf.org
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            I feel like a good portion of people hate many languages, tbh. This is at least partially because they’re often forced to use them based on company mandates, rather than their own volition.

      • TORFdot0@lemmy.world
        link
        fedilink
        arrow-up
        24
        ·
        edit-2
        1 year ago

        JavaScript burned our crops, poisoned our water supply, and delivered a plague unto our houses

      • joel_anderson@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        1 year ago

        It’s missing a lot of things that people really care about (with good reason) like static typing. But I think a lot of dislike also comes from it being more of a functional programming language and not object oriented. I like it because it’s like scheme or lisp but with a C like syntax that I find easier to read. I also like that I can do dynamic stuff with websites. In some ways it’s the perfect scripting language for the web. Just as messy and unpredictable as html.

        • DarkenLM@kbin.social
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          There are “classes” (syntatic sugar over prototyping) that allow OOP in JS, so I don’t think why people would dislike it for the lack of OOP, unless they’re using ES5.

          • MajorHavoc@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Some would say that until you’ve played “guess whether my clone still points back to the original object” in JavaScript, you’ve never really lived.

            That said, I understand I’m supposed to start using TupeScript for that, so I’ll shut up about it.

            • DarkenLM@kbin.social
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              Oh, yeah. When people discover shallow clone vs deep clone is when shit hits the fan. Though anyone that comes from a C background shouldn’t fall on those traps either way.