upvote
Exceptions are inherently better for high-level code, where basically every loc can fail and 99% of the time you only want to bubble that up. You only want errors as values in systems code, where exceptions would be landmines. Rust and Go both did that because they were at least originally designed for systems code.

Also, Go makes it way too easy to accidentally swallow an error. Rust doesn't have that problem.

reply
deleted
reply