Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever
by titzer on Thursday July 13, 2023 @10:53AM
(#36710136)
Situations vary a lot. In general there's no guarantee that a far outer scope is going to know how to deal with errors from deep inside some nested calls except for some very general logic, like failing a whole operation.
[ Parent
| on HN ]
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever
by kaba0 on Thursday July 13, 2023 @04:00PM
(#36715146)
Even more commonly, there is no meaningful error handling to be done at a layer above the call.
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever
by bedobi on Friday July 14, 2023 @01:48PM
(#36727446)
I don't mean to be uncharitable but it seems like most exception advocates here don't really understand the case us functional error handling advocates are making. We don't advocate handling errors at every level. They're usually sent to the boundary layers of the system, eg the http resource layer, and folded there into http responses.