• @[email protected]
      link
      fedilink
      73 months ago

      It’s not just that. Debugging segfaults and UB can be an absolute nightmare.

      The C++ committee still haven’t learnt their lesson. I recently learnt about C++20 coroutines, which are pretty neat, if complex (there are pretty much no good learning resources about them). However they are still putting unnecessary UB footguns in it.

      • lad
        link
        fedilink
        English
        43 months ago

        Reminds me of how I found some safety measures to be in China some years back, basically those were signs saying “plz don’t fall to your death, if you do it’s your fault”

        • @[email protected]
          link
          fedilink
          English
          13 months ago

          At least it’s not like Russia, where it’s “plz don’t fall to your death, if you do it’s our fault”…

          • lad
            link
            fedilink
            English
            23 months ago

            I thought a lot of places are like that, that’s why we get all the fences and such 🤔

      • bufalo1973
        link
        fedilink
        12 months ago

        Maybe a “pragma strict” where every deprecated is an error and not a warning?