Earlier quoted context omitted.
That has nothing to do with having exceptions, Rust just has a good type system (something go doesn't have). But again, handling an error doesn't necessarily prevent bugs. Just because you handled an error doesn't mean the error won't happen in Prod. It just means when it does, you wrote a message for it or custom behavior. Which could be good, or it might be functionally as effective as returning a stack traces mess…
> That has nothing to do with having exceptions It absolutely does. Checked exceptions sort of half get there too but they are quite rarely used (I think they are used in Android quite well). They were actually removed from C++ because literally nobody used them. > handling an error doesn't necessarily prevent bugs. I never made that claim. > I've never seen people not handle errors that the user could do anything wi…
My point is that "something went wrong" messages are for errors the user CANT and SHOULDNT do anything with.