Re:Go 2.0 Error Handling Requirements
by derblitzmann on Sunday October 14, 2018 @10:05PM
(#18216924)
I'll annonance my bias towards go. But from what I understand, allowing exceptions allow for more complex code parhs. Whereas explicit error handling forces you to handle it in the moment.
[ Parent
| on HN ]
Yep yep, sounds good.
Problem is you're not handling errors, you're wasting precious energy shuffling errors to code that knows how to handle it; which is exactly what exceptions could do for you. The end result is the same, except it takes more effort and the code looks like crap.