News for hackers. Stuff that matters.
Re:Exceptions should be Exceptional (2016) by mrkeen on Friday March 13, 2020 @02:51AM (#22565300)
> please don't use exceptions for flow control

That's kind of the problem though. Exceptions are flow control.

Re:Exceptions should be Exceptional (2016) by rumanator on Friday March 13, 2020 @03:31AM (#22565445)
> Exceptions are flow control.

...for exceptional events.

That means those events that are very far from the happy path and need to be recovered by unwinding down multiple function calls until a safe point to recover gracefully is reached. These are events such as failing to allocate memory.