Re:Why Checked Exceptions Failed
by mkleczek on Saturday July 15, 2023 @01:33PM
(#36739161)
While deceptive at first... Just try to imagine how "extract method" refactoring would work...
[ Parent
| on HN ]
It would have to do some clever rewriting of the logic or it could simply declare that extracting method isn't available on that region. The simplest way to rewrite the logic may be the introduction of new exception type(s) corresponding to the labels.