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
      15
      ·
      edit-2
      17 hours 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
        2
        ·
        11 hours 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

      • ISO@lemmy.zip
        link
        fedilink
        arrow-up
        3
        ·
        16 hours 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.

    • bleistift2@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      9
      ·
      17 hours ago

      I program JavaScript for a living. I’ve noticed how I’ve become blind to my language’s idiosyncracies, but I still believe it isn’t super bad. Especially with all the new shiny features that were piled on ever since 2018-ish (I think).

      It is definitely nowhere near as bad as C++. And I’m only 6 minutes into the video.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      16 hours ago

      I hate JS and I feel miserable writing it… but 5 minutes in and I’m convinced CPP is worse than JS. Even having learned some of it before I did JavaScript.

        • CompostMaterial@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          18 hours ago

          I am not. A programming language can be directly compiled into assembly to program the instructions. A scripting language isn’t compiled and can only provide instructions on when and what to do to a program that has already been told how by an actual programming language.

          • litchralee@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            24
            ·
            17 hours ago

            This distinction is both illogical and ahistorical. Python is a scripting language that has a compiler. Indeed, any scripting language can be translated into a compilable language and then compiled, a process called transpiling.

            There’s also Java, which definitely compiles down to bytecode, but for a machine which physically doesn’t exist. The Java Virtual Machine is an emulator that runs on supported hardware, in order to execute Java programs. Since the Java compiler does not produce, say, x86 assembly, your definition would assert that Java is not a compiled language, despite obviously having a compiler.

            As an exercise for everyone else, also have a look at Lisp, a very-clear programing language with a compiler, but some specially-built machines were constructed that optimized for Lisp programs, with hardware support to do checks that would take longer on other architectures.

          • thingsiplay@lemmy.ml
            link
            fedilink
            arrow-up
            9
            ·
            17 hours ago

            You are talking about the compiler, not the language itself. Humans program in programming languages such as JavaScript and C to write computer programs. The code is human readable text in both cases. Both are code to describe how a program operates. Therefore C and JavaScript are programming languages.

            With your logic, is Python not a programming language? The common compiler is an interpreter. But there are also real compilers that produce machine code. What about C# and Dotnet langauges and Java? They produce Bytecode that needs to be interpreted by an interpreter and executed at runtime, as these are not machine code yet. Are those not programming languages?

          • ell1e@leminal.space
            link
            fedilink
            English
            arrow-up
            6
            ·
            17 hours ago

            I’ve seen many people use a very different definition of “programming language”.

          • tyler@programming.dev
            link
            fedilink
            arrow-up
            5
            ·
            17 hours ago

            Yeah you clearly don’t know how modern languages work. Most “scripting languages” are compiled nowadays, in a preprocess step.

      • thingsiplay@lemmy.ml
        link
        fedilink
        arrow-up
        12
        ·
        17 hours ago

        Why is a scripting language not a programming language? I am not sure if you are joking (would be fitting to be honest, but ask nonetheless in case it is serious). JavaScript is a programming language, and scripting is a sub category or type of it. The language itself does not define if its a scripting language, this is defined by the compiler.

        What about compilers that compile to C first and then machine code / self running executable? I think this is how some Python compilers work (no I am not talking about bundles). What about C# and Dotnet? Java Bytcode?