{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/3676","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3676/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3676/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3676/events","html_url":"https://github.com/elixir-lang/elixir/issues/3676","id":105096496,"number":3676,"title":"Warn on imperative use of case/cond/receive","user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/App:Elixir","name":"App:Elixir","color":"CCCCCC"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Kind:Chore","name":"Kind:Chore","color":"fbca04"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Level:Advanced","name":"Level:Advanced","color":"f7c6c7"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Note:Discussion","name":"Note:Discussion","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-06T14:05:34Z","updated_at":"2015-09-06T20:31:42Z","closed_at":null,"body":"We could allow the dirty metadata to have the previous behaviour, still allowing things like if and unless to be implemented. The warn could likely exist forever too, allowing developers to write a code but have the warning point out the best way to write it.\r\n\r\nBy imperative use, I mean the assignment of variables inside branches."},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/138123789","html_url":"https://github.com/elixir-lang/elixir/issues/3676#issuecomment-138123789","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3676","id":138123789,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T20:31:42Z","updated_at":"2015-09-06T20:31:42Z","body":"@alco can you give a legitimate use case for such assignment?"}}