3 ms·
I have no opinion about whether exceptions are better or not, but .unwrap() is basically the same as an uncaught exception, no? Program closes, prints a backtra
by mastax 10y ago
I have no opinion about whether exceptions are better or not, but .unwrap() is basically the same as an uncaught exception, no? Program closes, prints a backtrace and a somewhat cryptic message which is usually enough for a programmer to understand what happened.