3 ms·
Rust didn't completely forsake them--they were just renamed "panics". The difference is that the language and ecosystem push you to only use panics for truly ex
by carry_bit 10y ago
Rust didn't completely forsake them--they were just renamed "panics". The difference is that the language and ecosystem push you to only use panics for truly exceptional cases, and to use Result or Option for expected failures.