• ScreaminOctopus
    link
    fedilink
    English
    arrow-up
    8
    ·
    6 months ago

    Yeah, for this reason I would pretty much never encourage exceptions in Python over some other form of error handling. It’s so frustrating when called code throws some random exceptions that are completely undocumented. This is one of the few things Java got (sort of) right