News for hackers. Stuff that matters.
Re:Why I love Go by aninhumer on Wednesday December 06, 2017 @06:17AM (#15860240)
Handling errors as values is great, but making that value a product type rather than a sum type is not good design. It means you have to return a result even when you have an error, and so nothing enforces that the user actually handles the error properly.

There are no comments on this comment yet.