2 ms·
> please don't use exceptions for flow control That's kind of the problem though. Exceptions are flow control.
by mrkeen 7y ago
> please don't use exceptions for flow control
That's kind of the problem though. Exceptions are flow control.
- rumanator 7y ago> 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.