Bugs that the Rust compiler catches for you
&gt; It may sound stupid, but you can&#x27;t have unhandled exceptions if you don&#x27;t have exceptions...<p>&gt; panic!() exists in Rust, but that&#x27;s not how recoverable errors are handled.<p>This is the worst argument in the whole article, and this is the worst part of the language. Everyone says it&#x27;s not like exceptions, but in fact it is much worse. Panic is stringly typed and you can catch_unwind it, just like with try&#x2F;catch in any other language. And the actual worst part of it, you will never know if a panic can occur in any of the underlying functions until it is too late. Developers be damned if they want to choose different behaviour other than crashing the whole program.<p>Either double down on using the standard error handling everywhere, or put something like &quot;throws panic&quot; in the function signature (ala Java checked exceptions). Many parts of the language has strict checks for everything, why does panic has to be an outlier?