{"action":"closed","issue":{"url":"https://api.github.com/repos/ark-lang/ark/issues/695","repository_url":"https://api.github.com/repos/ark-lang/ark","labels_url":"https://api.github.com/repos/ark-lang/ark/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/ark-lang/ark/issues/695/comments","events_url":"https://api.github.com/repos/ark-lang/ark/issues/695/events","html_url":"https://github.com/ark-lang/ark/issues/695","id":132893961,"number":695,"title":"Style Guide: If statements","user":{"login":"MovingtoMars","id":596124,"avatar_url":"https://avatars.githubusercontent.com/u/596124?v=3","gravatar_id":"","url":"https://api.github.com/users/MovingtoMars","html_url":"https://github.com/MovingtoMars","followers_url":"https://api.github.com/users/MovingtoMars/followers","following_url":"https://api.github.com/users/MovingtoMars/following{/other_user}","gists_url":"https://api.github.com/users/MovingtoMars/gists{/gist_id}","starred_url":"https://api.github.com/users/MovingtoMars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MovingtoMars/subscriptions","organizations_url":"https://api.github.com/users/MovingtoMars/orgs","repos_url":"https://api.github.com/users/MovingtoMars/repos","events_url":"https://api.github.com/users/MovingtoMars/events{/privacy}","received_events_url":"https://api.github.com/users/MovingtoMars/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ark-lang/ark/labels/M-RFC","name":"M-RFC","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-11T05:33:39Z","updated_at":"2016-02-11T14:00:37Z","closed_at":"2016-02-11T14:00:37Z","body":"I know @0xbadb002  loooves having the `else` part on a new line, but I can't stand it.\r\n\r\n```\r\n\tif f == FileMode::Read {\r\n\t\treturn \"r\";\r\n\t}\r\n\telse if f == FileMode::Write {\r\n\t\treturn \"w\";\r\n\t}\r\n\telse if f == FileMode::Append {\r\n\t\treturn \"a\";\r\n\t}\r\n```"}}