3 ms·
I mean a bit more concise than that. To catch and rethrow an exception you still need a try and a block, and you probably add a level of indent. Compare Rust,
by mjw1007 8y ago
I mean a bit more concise than that.
To catch and rethrow an exception you still need a try and a block, and you probably add a level of indent.
Compare Rust, where you can generally spell "I'm sufficiently confident that this won't happen that I'm happy to abort if it does" as « .unwrap() ». (That's not a great word for this idea, but it is at least short.)