Comment

Comment by masklinn

That's a difference in usage. In the default configuration, panics can be caught and thus are functionally identical.

The actual difference is that you can set panic=abort as the user of the code (it's a compiler parameter), in which case there is no unwinding and the program aborts immediately.

To me, the lack of possible handling and recovery (based on a compilation flag) is what arguably disqualifies it as an exceptions system.

parent masklinn 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton