It's just bad form to do so in Rust because it's bad for maintainability to design programs like that.
Rust is opinionated and very much NOT an anything goes language. There is a culture and the culture says do not catch panics. If you feel the need to catch a panic, make it a regular value instead.
It's just bad form to do so in Rust because it's bad for maintainability to design programs like that.
Rust is opinionated and very much NOT an anything goes language. There is a culture and the culture says do not catch panics. If you feel the need to catch a panic, make it a regular value instead.