Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree Rust's error handling is better and you can criticize some decisions in Go's error handling. I mean it also has these weird hybrid exception-like things (ie panics).

But the main point is that Go (and Rust) moved away from exception-as-control-flow that C++, C# and Java had adopted.



"exception-as-control-flow" is a misuse of exceptions. You can catch them just at strategic points and ignore them everywhere else.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: