• esa@discuss.tchncs.deOP
    link
    fedilink
    arrow-up
    1
    ·
    22 days ago

    Parsing is a way of “validating early”. You either get a successful parse and the program continues working on known-good data with that knowledge encoded in the type system, or you handle incorrect data as soon as it’s encountered.