3 ms·
> When Rust got popular, I was a bit confused by people talking about how great Result it's essentially a checked exception without a stack trace. It's not a c
by Ygg2 11mo ago
> When Rust got popular, I was a bit confused by people talking about how great Result it's essentially a checked exception without a stack trace.
It's not a checked exception without a stack trace.
Rust doesn't have Java's checked or unchecked exception semantics at the moment. Panics are more like Java's Errors (e.g. OOM error). Results are just error codes on steroids.