• bleistift2
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      14 days ago

      If you cut yourself with a knife, it might be your fault. And it might be that the knife is sharp on both sides and has no handle.

      • riodoro1@lemmy.world
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        edit-2
        14 days ago

        Posted on gigabytes of robust C/C++ codebase.

        You cannot make a safe yet universal cutting tool. If it needs to cut, it can also cut the user. Its completely up to the user what he chooses to do with a knife and there have been many „accidents” with them. Yet we keep making and using simple knives in a form unchanged since before we could write.

        • stetech@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          11 days ago

          You cannot make a safe yet universal cutting tool.

          I’m neither language designer or crustacean advocate, but from what can be read, Rust seems to have managed just fine. The trick is probably to allow removing the cover of the sharp edge when needed (execute unsafe).