• @sqw
    link
    English
    11 month ago

    cant practically anything throw an exception given the right (sometimes extremely remotely possible) circumstances?

    • @prof@infosec.pub
      link
      fedilink
      51 month ago

      Not really. Exceptions are a controlled way of indicating something went wrong in an application.

      The only point where you wouldn’t know about the possibility of one is when you don’t know enough about the language features you’re using or when you use a badly documented library or framework.

      • @sqw
        link
        English
        11 month ago

        dont many of the language primitives confer the possibility of thrown exceptions?