{"action":"reopened","issue":{"url":"https://api.github.com/repos/rrrene/credo/issues/65","repository_url":"https://api.github.com/repos/rrrene/credo","labels_url":"https://api.github.com/repos/rrrene/credo/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/rrrene/credo/issues/65/comments","events_url":"https://api.github.com/repos/rrrene/credo/issues/65/events","html_url":"https://github.com/rrrene/credo/issues/65","id":149586266,"number":65,"title":"Is \"Case statements should not only contain `true` and `false`.\" a good default?","user":{"login":"fishcakez","id":2001229,"avatar_url":"https://avatars.githubusercontent.com/u/2001229?v=3","gravatar_id":"","url":"https://api.github.com/users/fishcakez","html_url":"https://github.com/fishcakez","followers_url":"https://api.github.com/users/fishcakez/followers","following_url":"https://api.github.com/users/fishcakez/following{/other_user}","gists_url":"https://api.github.com/users/fishcakez/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcakez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcakez/subscriptions","organizations_url":"https://api.github.com/users/fishcakez/orgs","repos_url":"https://api.github.com/users/fishcakez/repos","events_url":"https://api.github.com/users/fishcakez/events{/privacy}","received_events_url":"https://api.github.com/users/fishcakez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rrrene/credo/labels/Kind:%20Feature","name":"Kind: Feature","color":"0052cc"},{"url":"https://api.github.com/repos/rrrene/credo/labels/Level:%20Intermediate","name":"Level: Intermediate","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"rrrene","id":311914,"avatar_url":"https://avatars.githubusercontent.com/u/311914?v=3","gravatar_id":"","url":"https://api.github.com/users/rrrene","html_url":"https://github.com/rrrene","followers_url":"https://api.github.com/users/rrrene/followers","following_url":"https://api.github.com/users/rrrene/following{/other_user}","gists_url":"https://api.github.com/users/rrrene/gists{/gist_id}","starred_url":"https://api.github.com/users/rrrene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrrene/subscriptions","organizations_url":"https://api.github.com/users/rrrene/orgs","repos_url":"https://api.github.com/users/rrrene/repos","events_url":"https://api.github.com/users/rrrene/events{/privacy}","received_events_url":"https://api.github.com/users/rrrene/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rrrene/credo/milestones/1","html_url":"https://github.com/rrrene/credo/milestones/Release%20v0.4.0","labels_url":"https://api.github.com/repos/rrrene/credo/milestones/1/labels","id":1753604,"number":1,"title":"Release v0.4.0","description":null,"creator":{"login":"rrrene","id":311914,"avatar_url":"https://avatars.githubusercontent.com/u/311914?v=3","gravatar_id":"","url":"https://api.github.com/users/rrrene","html_url":"https://github.com/rrrene","followers_url":"https://api.github.com/users/rrrene/followers","following_url":"https://api.github.com/users/rrrene/following{/other_user}","gists_url":"https://api.github.com/users/rrrene/gists{/gist_id}","starred_url":"https://api.github.com/users/rrrene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrrene/subscriptions","organizations_url":"https://api.github.com/users/rrrene/orgs","repos_url":"https://api.github.com/users/rrrene/repos","events_url":"https://api.github.com/users/rrrene/events{/privacy}","received_events_url":"https://api.github.com/users/rrrene/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":7,"state":"open","created_at":"2016-05-08T12:35:44Z","updated_at":"2016-05-20T07:01:56Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-04-19T21:13:52Z","updated_at":"2016-05-20T07:01:56Z","closed_at":null,"body":"Suggesting an `if..else` is less strict, which could potentially hide bugs because `if` tests for truthy rather than `true`.\r\n\r\n```elixir\r\ncase Map.fetch!(map, key) do\r\n  true -> :good\r\n  false -> :bad\r\nend\r\n```\r\n\r\nSituations where one might use a `case` like this are when a map or keyword have been passed from another application."}}
{"actor":{"display_login":"rrrene"}}