• toastal@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    If you use your type system to make invalid states impossible to represent & your functions are pure, there less—maybe nothing—to test, which will save you from this scenario.