Is Rust's `Result` better than C++'s try/catch?

前端 未结 0 1708
感情败类
感情败类 2021-02-07 02:15

After moving from C++ to Rust for a while, I noticed how Result is useful. It forced me to handle errors better than try/catch, which lead m

相关标签:
回答
  • 消灭零回复
提交回复
热议问题