• MajorHavoc@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Write the whole thing, and only then, scrap it and rewrite it.

    Exactly. And that’s the part a lot of folks don’t understand about writing tests. If we’re not sure an interface will survive into the rewrite, it probably doesn’t belong in the test suite.

    And the rewrite can be very fast, if we tested the right things.