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

> 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.



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

Search: