• BB_C@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Eh research shows otherwise. Rust eliminates defects for a very particular set of problems, but when it comes to logical correctness it isn’t better or worse than other languages.

      Can you concede, at least to yourself, that you made ^ this ^ up?

      By the way, what you claimed “research shows” is so ridiculous that it’s hilarious that you wrote it while being serious.

      Hell, I cheekily mentioned Python and JS in particular because the former introduced type hints and the latter triggered creating TS as a saner shield.

      Btw, that wrongly-constructed URL wasn’t even an external one. We literally have web frameworks that make sure non-external URLs with invalid paths are impossible to construct. In other words, attempting to construct a wrong one would be a compile error.

      • gnus_migrate@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        By the way, what you claimed “research shows” is so ridiculous that it’s hilarious that you wrote it while being serious.

        There is still no research that definitively shows that static types reduce defects more than dynamic types, this is a fact. Turns out we are incredibly bad at studying this, so I don’t know how you can say definitively that it is the case when even the people who study this for a living are not able to make that case.