Found this gem. A single well made video in a channel. The Channel owner probably made this channel just to house one video I guess.

I havent watched it all the way through but it seems to have alot of substance. By the looks of it the guy probably has spent atleast a year developing professionally in C++ and is pretty pissed to make that video as a ventfest

See if you cant agree with something he said

  • masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    2 months ago

    There are two types of languages:

    • Ones people complain about
    • Ones that don’t get used

    JavaScript, especially when using TypeScript, is quite frankly one of the most pleasant development experiences. Yes, there are still footguns here and there due to poor early choices and maintaining decades of backwards compatibility (===, etc), but literally all of them are caught by basic linting.

    Go try using Salesforce’s bastardized version of old Java (Apex) if you want to experience a truly unpleasant language.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Go try using Salesforce’s bastardized version of old Java (Apex) if you want to experience a truly unpleasant language.

      I have. I like it more than JS as a language.

      I just fucking hate the fact that it’s basically useless outside of salesforce; no one gives a fuck if you can code in apex except for people that need you to program some useless shit in salesforce

    • Coriza@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      2 months ago

      I don’t have a dog in this fight, but I want to point out that you can’t say the JS is pleasant to use while at the same time saying that that is the case if you are using another language that transpile to it. And specially when said language or “improved syntax” was created with the sole purpose to address shortcomings in JS.

      • masterspace@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        2 months ago

        Well two things:

        1. yes I can. It’s perfectly possible for a slice of pie to be pleasant, and a slice of pie with ice cream to be more pleasant.

        2. the original point of discussion to kick off this thread was claiming that js is the least pleasant.

        • namingthingsiseasy@programming.dev
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          2 months ago

          It’s perfectly possible for a slice of pie to be pleasant, and a slice of pie with ice cream to be more pleasant.

          In my personal opinion though, that’s not how I would describe Javascript vs. Typescript. Javascript was basically replaced overnight, to the point where you should be very harshly criticized for ever using it these days unless you’re maintaining a legacy project.

          • masterspace@lemmy.ca
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 months ago

            Yeah, we’re describing it the same way. A slice of pie with ice cream is preferable unless you don’t have ice cream available.

            If you want to go on a rant about JavaScript then just do so, stop trying to goad someone into an argument about it.

            • namingthingsiseasy@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              2 months ago

              I’m not trying to goad you into an argument, though I could have admittedly phrased things better. I just can’t think of any reason why someone would want adopt Javascript as it is with all of its problems. A slice of pie is better than nothing at all. On the other hand, using Javascript when a much better alternative exists (namely Typescript) would be a significant liability in my opinion.

              In fact, pretty much everyone on our front-end team at work would agree too - they’re pretty much unanimous in saying that Javascript should basically never be used.

    • ISO@lemmy.zip
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      2 months ago

      C++ and JS are objectively shit languages from the pool of used languages.

      What you quoted is one of the many COPEs Bjarne used in his lifetime. Because unlike JS people. who admit that JS is shit that was originally hastily put together, Bjarne needs the C++ bureaucracy, and the facade of superiority (even if it only lives in his own mind), to keep going because he has nothing else to show for.

      • namingthingsiseasy@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        C++ and JS are objectively shit languages from the pool of used languages.

        This is a great point. There are a lot of even worse languages that are dead/dying and deserve to do so.

        But personally, I see a lot of people who continue to defend JS. And I have worked in C++ for about 5 years now and nobody I have worked with praises the language - most want to ditch it entirely and switch to Rust. I can think of maybe one person who claims that C++ is good enough, which is hardly any praise.

        This is all anecdotal stuff, so maybe we don’t see eye-to-eye though. I personally love C++, because it’s a really fun language to write, but I simultaneously think it’s an awful language, and the people who write/standardize it keep making the same kinds of bad mistakes over and over again.