• tunetardis@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 days ago

    I suppose it depends on the language? For the most part I think you’re right. Exceptions are only used (if at all) in situations where a program diverges unexpectedly from its normal flow. But take a language like Python. They’re just everywhere. Even your plain old for loop ends on an exception, and that’s just business as usual.