2 ms·
> the Rust people put themselves into giving into the > anti-exception people It's a shame that you characterize design decisions as "giving into" the crowd
by kibwen 11y ago
> the Rust people put themselves into giving into the
> anti-exception people
It's a shame that you characterize design decisions as "giving into" the crowd instead of trying to understand why the decision might make sense in the context of Rust. Designing the error handling story was a discussion that spanned years, with dozens of discussions, many implementations, and likely hundreds of participants.
> That the documentation suggests not using it as "catch"
> is merely a political statement
It's not just political, note the "RecoverSafe" bound on the type parameter. See https://doc.rust-lang.org/nightly/std/panic/trait.RecoverSafe.html https://doc.rust-lang.org/nightly/std/panic/trait.RecoverSaf...