3 ms·
> Not a fan of Result, either - it ties together the error type and the type of the desired item - these should be separate concerns. How so? 'Result' is just
by 0815test 8y ago
> Not a fan of Result, either - it ties together the error type and the type of the desired item - these should be separate concerns.
How so? 'Result' is just a generic variant record with two variant cases, for the "success" and "error" condition. It's the exact same as the `value, err` pattern in Go, except that it additionally enforces proper semantics and handling of the outcome.