White House urges developers to dump C and C++::Biden administration calls for developers to embrace memory-safe programing languages and move away from those that cause buffer overflows and other memory access vulnerabilities.

  • @CatLikeLemming
    link
    English
    3
    edit-2
    4 months ago

    If you’re an expert tightrope walker, you’re likely not gonna fall off. You can just do it without too much issue. When you’re doing it over a chasm, and you don’t plan on dying, you’d still probably prefer a harness though, wouldn’t you?

    Edit: I’m not saying C is a bad language or anything, but for important applications the safety of actually memory safe languages is vital for lower-skilled programmers and still a good assistance for higher-skilled programmers, as we’re all humans and it doesn’t hurt to try and avoid the mistakes we will eventually make.

    • @lolcatnip@reddthat.com
      link
      fedilink
      English
      2
      edit-2
      4 months ago

      I’ll say it. C is a bad language. There was a time when it needed needed to exist and using it was a smart choice, but it has outlived its usefulness for anything but legacy code and niche use cases like FFI. It’s in essentially the same category as Cobol.

        • @lolcatnip@reddthat.com
          link
          fedilink
          English
          1
          edit-2
          4 months ago

          It wasn’t bad at the time relative to what else was around.

          And I don’t even know what you’re getting at by saying “all” successor languages copied it. Are you referring to how many languages use curly braces as block delimiters? Because that’s not what’s wrong with C.