Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another comment already mentioned that the OP don't understand how to work with errors in Go.

As with any language, Go has its own philosophy and you have to first understand why it was created and what it brings to the table. To summarize it in one phrase "Less is more"

I think this post should be a mandatory reading for everybody learning Go. If this resonates with you it's possible you're gonna like the language:

https://commandcenter.blogspot.com/2012/06/less-is-exponenti...





I believe I read this when it was first published but it still holds up very well today.



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

Search: