View on GitHub

Quorten Blog 1

First blog for all Quorten's blog-like writings

Wow, this is interesting. So, here’s a different opinion and experience about Golang’s error handling model. The main argument against not providing an exception-throwing model? Without an exception-throwing model, you rely on third-party library code obeying proper errror messaging conventions… which in practice, it doesn’t. Not unless you limit your choice of third-party libraries to such an extremely small subset that… well, you’d talking more of a curated core of libraries rather than everything were that the case. And of course you want everything so that you maximize the possibility of finding existing code for your application and minimize the amount of code that you have to write.

20181121/https://opencredo.com/why-i-dont-like-error-handling-in-go/