Re:Go 2.0 Error Handling Requirements
by vbezhenar on Sunday October 14, 2018 @07:14PM
(#18216139)
I don't think that Go will move to exceptions. Sure, panic/recover are renamed exceptions (very similar to Rust panics, btw), but standard library and community libraries uses errors, so you'll use them anyway (unless you want to rewrite or wrap the world which is possible, I guess, in automated way and that's a provoking thought!).
[ Parent
| on HN ]
The standard library uses panic/recover to sort of implement exceptions here and there. It's a pretty serious case of do as I say, not as I do.
Re:Go 2.0 Error Handling Requirements
by networkimprov on Sunday October 14, 2018 @11:39PM
(#18217253)
Those instances are being fixed.