IssueRaiser

This is really interesting to me because it shows what to think of the claim that explicit error handling makes go code more reliable tha...

This is really interesting to me because it shows what to think of the claim that explicit error handling makes go code more reliable than languages which use exceptions. When using go I often get the feeling of doing something wrong. Because I know I'm supposed to "handle errors" but all I really want is the program to blow up and hand me a stack trace. This gives me the worst of both worlds, I have to manually trigger something that approaches the unhandled exception behavior of other languages while retaining the verbosity of explicit errors returns. Now it seems like I'm not the only person struggling with this. Has anyone come up with a sane approach to that problem?

Posted by raphael_kimmig on Jun 4, 2014, 12:10 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.9,500 issues0 comments

hackernews (Software)

This is really interesting to me because it shows what to think of the claim that explicit error handling makes go code more reliable tha...

raphael_kimmigJun 4, 2014, 12:10 PM

This is really interesting to me because it shows what to think of the claim that explicit error handling makes go code more reliable than languages which use exceptions. When using go I often get the feeling of doing something wrong. Because I know I'm supposed to "handle errors" but all I really want is the program to blow up and hand me a stack trace. This gives me the worst of both worlds, I have to manually trigger something that approaches the unhandled exception behavior of other languages while retaining the verbosity of explicit errors returns. Now it seems like I'm not the only person struggling with this. Has anyone come up with a sane approach to that problem?

Comments (0)

No comments yet. Start the discussion.

Comment on this issue