• vrighter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      11 hours ago

      tests can never prove correctness of code. All they can prove is “the thing hasn’t failed yet”. Proper reasoning is always needed if you want a guarantee.

      If you had the llm write the regex for you, I can practically guarantee that you won’t think of, and write tests for, all the edge cases.