#programming_languages
threaded - newest
There are many reasonable approaches… it just so happens that Go’s is not one of them.
We had a post about error handling here recently: An epic treatise on error models in systems programming languages
As I write in a comment there, I can also recommend the referenced The Error Model which is a bit shorter and more concrete
With much more expansive exploration and reasoning, both come to the same conclusion as this post: It’s not a solved problem.
threaded - newest
There are many reasonable approaches… it just so happens that Go’s is not one of them.
We had a post about error handling here recently: An epic treatise on error models in systems programming languages
As I write in a comment there, I can also recommend the referenced The Error Model which is a bit shorter and more concrete
With much more expansive exploration and reasoning, both come to the same conclusion as this post: It’s not a solved problem.