{"action":"created","issue":{"url":"https://api.github.com/repos/hunspell/hunspell/issues/416","repository_url":"https://api.github.com/repos/hunspell/hunspell","labels_url":"https://api.github.com/repos/hunspell/hunspell/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/hunspell/hunspell/issues/416/comments","events_url":"https://api.github.com/repos/hunspell/hunspell/issues/416/events","html_url":"https://github.com/hunspell/hunspell/issues/416","id":183425494,"number":416,"title":"Catch exceptions in main()?","user":{"login":"elfring","id":660477,"avatar_url":"https://avatars.githubusercontent.com/u/660477?v=3","gravatar_id":"","url":"https://api.github.com/users/elfring","html_url":"https://github.com/elfring","followers_url":"https://api.github.com/users/elfring/followers","following_url":"https://api.github.com/users/elfring/following{/other_user}","gists_url":"https://api.github.com/users/elfring/gists{/gist_id}","starred_url":"https://api.github.com/users/elfring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfring/subscriptions","organizations_url":"https://api.github.com/users/elfring/orgs","repos_url":"https://api.github.com/users/elfring/repos","events_url":"https://api.github.com/users/elfring/events{/privacy}","received_events_url":"https://api.github.com/users/elfring/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-17T14:05:19Z","updated_at":"2016-10-17T20:30:49Z","closed_at":"2016-10-17T19:58:37Z","body":"I expect that exception handling is usually supported by a C++ program. I wonder why your function \"[main](https://github.com/hunspell/hunspell/blob/866e0ea935579a4211aa329852e39fdcdcc2c908/src/tools/hunspell.cxx#L1754 \"main() function\")\" does not contain [corresponding try and catch instructions](https://stackoverflow.com/questions/368184/does-it-make-sense-to-catch-exceptions-in-the-main \"Does it make sense to catch exceptions in the main(…)?\") so far.\r\n\r\nHow do you think about recommendations by Matthew Wilson in [an article](https://accu.org/index.php/journals/1706 \"Quality Matters #6: Exceptions for Practically-Unrecoverable Conditions\")?\r\n\r\nWould you like to adjust the implementation if you consider [effects for uncaught/unhandled exceptions](http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=108 \"Uncaught exceptions\") like they are described by Danny Kalev?"},"comment":{"url":"https://api.github.com/repos/hunspell/hunspell/issues/comments/254324487","html_url":"https://github.com/hunspell/hunspell/issues/416#issuecomment-254324487","issue_url":"https://api.github.com/repos/hunspell/hunspell/issues/416","id":254324487,"user":{"login":"elfring","id":660477,"avatar_url":"https://avatars.githubusercontent.com/u/660477?v=3","gravatar_id":"","url":"https://api.github.com/users/elfring","html_url":"https://github.com/elfring","followers_url":"https://api.github.com/users/elfring/followers","following_url":"https://api.github.com/users/elfring/following{/other_user}","gists_url":"https://api.github.com/users/elfring/gists{/gist_id}","starred_url":"https://api.github.com/users/elfring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfring/subscriptions","organizations_url":"https://api.github.com/users/elfring/orgs","repos_url":"https://api.github.com/users/elfring/repos","events_url":"https://api.github.com/users/elfring/events{/privacy}","received_events_url":"https://api.github.com/users/elfring/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T20:30:49Z","updated_at":"2016-10-17T20:30:49Z","body":"Would you like to [reconsider consequences from implementation-defined behaviour](https://stackoverflow.com/questions/5557555/raii-and-stack-unwinding \"RAII and Stack unwinding\")?"}}
{"actor":{"display_login":"elfring"}}