Re:Why Checked Exceptions Failed
by LorenPechtel on Saturday July 15, 2023 @04:54PM
(#36740858)
Exactly. I have no problem with a function declaring the sort of exceptions it can handle, although simply handling them when they occur is normally good enough.
I would love if, at design time, all the possible exceptions that could happen were able to be inferred. But, the way it happens in java, it's entirely manual, and it won't catch things where I'm referencing compiled code.