News for hackers. Stuff that matters.
Re:You’re better off using Exceptions by irjustin on Monday February 03, 2020 @12:56PM (#22226852)
In general, I think this is why Rust uses `panic` since the name is way... angrier.

I like it. I wish that the concept of exceptions was closer to Panic because then we wouldn't be doing nearly as much flow control.

In the Rails world (where I live) looking top down, exceptions are handled via flow control or 500 pages. Anything that doesn't result in a 500 is effectively flow control.

While I agree with Rust's semantics, it generally isn't that bad to work around and knowing which is what.

There are no comments on this comment yet.