Why are there so many programming languages? And why are there still being so many made? I would think you would try to perfect what you have instead of making new ones all the time. I understand you need new languages sometimes like quantumcomputing or some newer tech like that. But for pc you would think there would be some kind of universal language. I’m learning java btw. I like programming languages. But was just wondering.

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

    Because people don’t want to admit that JavaScript will be the only programming language in the future and that resistance is futile.

    • david@feddit.uk
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Yeah but javascript has 473 popular frameworks and counting, and the churn is immense. Your codebase becomes out of date before you’ve finished writing it.

      And the debugging?! I’ll try to finish writing this paragraph despite the uncontrollable twitching. Let’s just say that javascript is the kind of language that looks at your car with a missing left front wheel and says “let’s go”, while your IDE whispers “Yes, but maybe just don’t turn right. Certainly don’t turn right fast, unless you want to of course.”

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

        Yeah but javascript has 473 popular frameworks and counting, and the churn is immense. Your codebase becomes out of date before you’ve finished writing it.

        That’s not really the case anymore, it was back at around 2015 for a few years when nodejs blew up and we realized that JS is capable of much more than we initially thought.

        We threw a thousand different things to the wall and a few frameworks stuck. Today the ecosystem is pretty stable, especially of you choose a popular framework like React or Angular.

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

        Who said you need to use a framework? vanilla-js.com Yes, debugging is a pain and the language fails in many aspects and I also hate it but I also realized it is the future and everything else will fade away.

        • ViperB5@kbin.social
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          I can’t believe I’m about to say this, but if JavaScript is the future, then I’m going to stick to my old fashioned COBOL.

        • mifuyne@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Gotta admit, I love how cheeky that is.

          I’m somewhat on the fence about this. Having the frameworks provide some of the functionalities built-in was pretty nice. Having some of that structural opinion to work off of meant I’m not wasting time just figuring out how to architect the whole thing from scratch. At the same time, I would prefer to stick with vanilla, so it’s less overhead and perhaps, the debugging would be more straight-forward. Trying to decipher React’s large error messages was irritating at best.

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

        That’s kind of the “problem” of JS. We can do memes like that but the truth is that it is taking over everything.