|
|
|
|
|
by allisdust
1504 days ago
|
|
How is try catch any better than Err/Ok pattern? Code that doesn't handle error cases shouldn't even pass any code reviews. This is exactly why Rust guides the programmers in a certain paths to ensure all cases are always handled. If you really don't want check the Err/Ok in each call, you are free to use '?' to pass that burden to higher functions. |
|
Remarkable that people with such little knowledge feel comfortable talking so much.