• NateNate60@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    Because you don’t know whether you’ve actually type-checked everything and that your inputs are safely parsed. Part of defensive programming is to adopt multiple defences to prevent bad data from getting through, including avoiding ==.