Good news! My Rust code is panicking
0 Boosts
0 Likes
@mcc Ah yes, the miniboss of Rust is uncaught exceptions. 😅
@scottmichaud Hmm… I mean, we don't have exceptions. But what we really *really* like is asserts
@mcc It's a running joke with me. The panic mechanism is the exception mechanism, including the catches. It just comes with a very strong opinion.
@scottmichaud oh. i see. then yes, since panics are recoverable, you're right, it's a very coarse exception handling mechanism
For those "in the know", that's good because that means it's compiling. The hard part is over!