• zbyte64@awful.systems
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    It’s usually vastly easier to verify an answer than posit one, if you have the patience to do so.

    I usually write 3x the code to test the code itself. Verification is often harder than implementation.

    • MangoCats@feddit.it
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      Yes, but the test code “writes itself” - the path is clear, you just have to fill in the blanks.

      Writing the proper product code in the first place, that’s the valuable challenge.