{"action":"closed","issue":{"url":"https://api.github.com/repos/ElixirTalk/elixirtalk/issues/28","repository_url":"https://api.github.com/repos/ElixirTalk/elixirtalk","labels_url":"https://api.github.com/repos/ElixirTalk/elixirtalk/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/ElixirTalk/elixirtalk/issues/28/comments","events_url":"https://api.github.com/repos/ElixirTalk/elixirtalk/issues/28/events","html_url":"https://github.com/ElixirTalk/elixirtalk/issues/28","id":296618821,"node_id":"MDU6SXNzdWUyOTY2MTg4MjE=","number":28,"title":"Learning idiomatic Elixir/the right approaches","user":{"login":"wcpines","id":11494834,"node_id":"MDQ6VXNlcjExNDk0ODM0","avatar_url":"https://avatars1.githubusercontent.com/u/11494834?v=4","gravatar_id":"","url":"https://api.github.com/users/wcpines","html_url":"https://github.com/wcpines","followers_url":"https://api.github.com/users/wcpines/followers","following_url":"https://api.github.com/users/wcpines/following{/other_user}","gists_url":"https://api.github.com/users/wcpines/gists{/gist_id}","starred_url":"https://api.github.com/users/wcpines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcpines/subscriptions","organizations_url":"https://api.github.com/users/wcpines/orgs","repos_url":"https://api.github.com/users/wcpines/repos","events_url":"https://api.github.com/users/wcpines/events{/privacy}","received_events_url":"https://api.github.com/users/wcpines/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-13T05:31:36Z","updated_at":"2018-08-23T18:11:51Z","closed_at":"2018-08-23T18:11:51Z","author_association":"NONE","body":"As I begin learning the language, I find it challenging to pick up doing things the \"right way.\"  \r\n\r\nIn Ruby and Python, there are approaches that are more or less reflective of the language idioms and best practices.  In Python especially, there is usually one way to do something. An advantage to this is that new people can write good, readable code quickly.  \r\n\r\nMeanwhile, Elixir seems to have _many_ ways of expressing the same thing.  E.g.  `case` vs `cond` vs `if/else` vs multi-clause functions; or List comprehensions vs Enum.  I'm sure there are more examples.  \r\n\r\nAre there reasons to use one approach over another? And how should one go about learning these?  (I suppose one could read Elixir source code?) \r\n"}}
{"actor":{"display_login":"wcpines"}}