Hacker News new | past | comments | ask | show | jobs | submit login

> I think that the difference between the Go way and exceptions is that exceptions are “automatic” and thus invisible

That exceptions automatically take care of propagating context is a big plus.

> See, for example, how Rob Pike et al. do error handling in their Upspin project[1]

The fact that there needs to be an entire blog post just to explain how to use errors in golang properly is quite telling about how poor of a job it does. Not to mention all the hoops they have to jump to propagate useful information, all of which we already have in languages with exceptions.






Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: