3 ms·
Have you seen this blog post by Rob Pike? https://blog.golang.org/errors-are-values https://blog.golang.org/errors-are-values
by pconner 11y ago
Have you seen this blog post by Rob Pike?
https://blog.golang.org/errors-are-values https://blog.golang.org/errors-are-values
- matthewmacleod 11y agoThis is very worth reading – it does offer some insight into the design process. In practice, there's still a lot of boilerplate error handling, but treating errors as values does help.