News for hackers. Stuff that matters.
Re:Away from Exceptions: Errors as Values by user-the-name on Monday August 30, 2021 @06:21AM (#28354284)
The second by far, especially if you just remove the else statements and let program flow continue naturally.

There are very good reasons to prefer Result over exceptions, but this example is not one.

There are no comments on this comment yet.