Re:Thoughts on the “Guard” Proposal for Go's Error Handling
by kaba0 on Sunday November 06, 2022 @05:37AM
(#33491166)
Well, arguably Java’s implementation is not the best regarding checked exceptions. Nonetheless I feel we threw the baby out with the bath water here, as a non-inheritance based checked exception system was not really tried and I feel it would be the best of both words. Since in the end, checked exceptions are just Result types which happens to be natively “understood” by the language - it gets stack trace support, auto-unwraps and bubbles up.
[ Parent
| on HN ]
There are no comments on this comment yet.