• puchaczyk@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    3 months ago

    To my knowledge, the Rust’s book actually encourages writing as many automated tests as you can, as the compiler can’t catch every type of bug in existance.

    • BatmanAoD@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      3 months ago

      Yes. True. But Uncle Bob literally complains about non-nullable types in the linked blog post.

      I’m not saying testing isn’t important. I’m saying that hand-written unit tests are not the end-all be-all of software quality, and that Uncle Bob explicitly believes they are.