News for hackers. Stuff that matters.
Re:Go generics draft design: building a hashtable by kelnos on Thursday June 18, 2020 @03:40AM (#23560738)
> returning `(value, err)` is conceptually the same thing as returning a Result[V]. You can ignore the error case on a result / the None case on an option as easily as you ignore the `err` today.

No, you can't. If you want to pull the value out of a result and ignore errors, you have to explicitly do so. With `(value, err)` style error handling, you can write bugs by simply forgetting to check `err`.

There are no comments on this comment yet.