News for hackers. Stuff that matters.
Re:Let's write a setjmp by someweirdperson on Sunday February 12, 2023 @05:35AM (#34761749)
> They can be used for many other things.

The underlying primitive offers even more flexibility, but exceptions (in the sense of programming languages) can also be used for many other things than exceptions (in the sense of natural language, to handle exceptional cases).

Re:Let's write a setjmp by bogomipz on Sunday February 12, 2023 @06:09AM (#34761925)
>"... but exceptions (in the sense of programming languages) can also be used for many other things than exceptions ..."

Can you elaborate? What are the other ways exceptions are used when not used to handle exceptional situations?