{"comment":{"url":"https://api.github.com/repos/pixie16/PixieSuite2/comments/17858698","html_url":"https://github.com/pixie16/PixieSuite2/commit/b507ae4fe99aa67bac352e8a099e8373df5836f4#commitcomment-17858698","id":17858698,"user":{"login":"spaulaus","id":1553042,"avatar_url":"https://avatars.githubusercontent.com/u/1553042?v=3","gravatar_id":"","url":"https://api.github.com/users/spaulaus","html_url":"https://github.com/spaulaus","followers_url":"https://api.github.com/users/spaulaus/followers","following_url":"https://api.github.com/users/spaulaus/following{/other_user}","gists_url":"https://api.github.com/users/spaulaus/gists{/gist_id}","starred_url":"https://api.github.com/users/spaulaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaulaus/subscriptions","organizations_url":"https://api.github.com/users/spaulaus/orgs","repos_url":"https://api.github.com/users/spaulaus/repos","events_url":"https://api.github.com/users/spaulaus/events{/privacy}","received_events_url":"https://api.github.com/users/spaulaus/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"b507ae4fe99aa67bac352e8a099e8373df5836f4","created_at":"2016-06-14T11:20:51Z","updated_at":"2016-06-14T11:20:51Z","body":"You could use a try/catch block or a while loop `while(!read_command())`. \r\n\r\n[This forum post](https://www.researchgate.net/post/What_is_the_best_alternatives_for_goto_statements_in_C) suggests the following rules for using a goto in C++. \r\n\r\n1. Only jump locally, i.e. to a code that is near the one you are jumping from. Never jump to another function or into another file (I am not sure wether this would even work, but I am afraid it might compile).\r\n2. Only jump forward, never backward.\r\n3. Only use gotos for exceptional circumstances"}}
{"actor":{"display_login":"spaulaus"}}