• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    2 days 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@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day 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”