3 ms·
> The Rust and Go error handling approach is only superficially different. Hold on, in the Rust world it's understood that the Rust and checked exception error
by twic 6y ago
> The Rust and Go error handling approach is only superficially different.
Hold on, in the Rust world it's understood that the Rust and checked exception error handling approaches are only superficially different (hence recurring proposals to add exception-like syntactic sugar [0]). Does that mean Go's error handling approach is only superficially different to checked exceptions?
[0] https://github.com/rust-lang/rfcs/blob/master/text/0243-trait-based-exception-handling.md https://github.com/rust-lang/rfcs/blob/master/text/0243-trai...
- dgb23 6y ago> in the Rust world it's understood that the Rust and checked exception error handling approaches are only superficially different Is that really so? I read this differently. The RFC you linked goes in-depth about how they are different from both normal Rust error handling and typical exception handling.