News for hackers. Stuff that matters.
Re:Why Go Gets Exceptions Right by genwin on Friday September 14, 2012 @10:46AM (#4521842)
That's a potential issue with any language, I believe. In Go you can recover() from what would otherwise be a termination. For example, I have a function that grabs and parses RSS feeds. If my program is fed junk by the remote site, I don't want to terminate, I want to ignore the error for that feed (after logging it). To do this I recover() from any error at the feed level.

There are no comments on this comment yet.