3 ms·
Code littered with try! macros does the same thing as propagating exceptions but you have to be explicit at every call. You have put error handling code litera
by wvenable 11y ago
Code littered with try! macros does the same thing as propagating exceptions but you have to be explicit at every call. You have put error handling code literally everywhere and then just achieve the same result that exceptions do automatically.
I understand Rust's motivation for handling errors this way and it makes sense for the type of language it is. But in terms of computing science, it's a step back into the past. Just like manually managing memory.