3 ms·
The proposals aren't reinventing exceptions. They are just making more ergonomic syntax for doing the same thing go error handling does today.
by thayne 1y ago
The proposals aren't reinventing exceptions. They are just making more ergonomic syntax for doing the same thing go error handling does today.
- bravesoul2 1y agoYou can argue that is what an exception is. A more ergonomic way to deal with errors that handles propagation for you.
- thayne 1y agoThat doesn't mean that any ergonomic way to handle errors is necessarily an exception system. Rust's ? operator is more ergonomic than go's error handling, but it is definitely not an exception system.