{"action":"created","issue":{"url":"https://api.github.com/repos/avh4/elm-format/issues/210","repository_url":"https://api.github.com/repos/avh4/elm-format","labels_url":"https://api.github.com/repos/avh4/elm-format/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/avh4/elm-format/issues/210/comments","events_url":"https://api.github.com/repos/avh4/elm-format/issues/210/events","html_url":"https://github.com/avh4/elm-format/issues/210","id":161772123,"number":210,"title":"Configure tab length","user":{"login":"maticzav","id":3924224,"avatar_url":"https://avatars.githubusercontent.com/u/3924224?v=3","gravatar_id":"","url":"https://api.github.com/users/maticzav","html_url":"https://github.com/maticzav","followers_url":"https://api.github.com/users/maticzav/followers","following_url":"https://api.github.com/users/maticzav/following{/other_user}","gists_url":"https://api.github.com/users/maticzav/gists{/gist_id}","starred_url":"https://api.github.com/users/maticzav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maticzav/subscriptions","organizations_url":"https://api.github.com/users/maticzav/orgs","repos_url":"https://api.github.com/users/maticzav/repos","events_url":"https://api.github.com/users/maticzav/events{/privacy}","received_events_url":"https://api.github.com/users/maticzav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-06-22T20:00:16Z","updated_at":"2016-11-20T05:47:38Z","closed_at":null,"body":"Is it possible to change tab length of beautified code? For example from 4 (i guess it's set to 4) to 3?\n"},"comment":{"url":"https://api.github.com/repos/avh4/elm-format/issues/comments/261760606","html_url":"https://github.com/avh4/elm-format/issues/210#issuecomment-261760606","issue_url":"https://api.github.com/repos/avh4/elm-format/issues/210","id":261760606,"user":{"login":"rtfeldman","id":1094080,"avatar_url":"https://avatars.githubusercontent.com/u/1094080?v=3","gravatar_id":"","url":"https://api.github.com/users/rtfeldman","html_url":"https://github.com/rtfeldman","followers_url":"https://api.github.com/users/rtfeldman/followers","following_url":"https://api.github.com/users/rtfeldman/following{/other_user}","gists_url":"https://api.github.com/users/rtfeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfeldman/subscriptions","organizations_url":"https://api.github.com/users/rtfeldman/orgs","repos_url":"https://api.github.com/users/rtfeldman/repos","events_url":"https://api.github.com/users/rtfeldman/events{/privacy}","received_events_url":"https://api.github.com/users/rtfeldman/received_events","type":"User","site_admin":false},"created_at":"2016-11-20T05:47:38Z","updated_at":"2016-11-20T05:47:38Z","body":"> Making time to discuss styling conventions--be it globally (as we do here) or within the microcosm of a team, one time--does not necessarily mean being less productive\r\n\r\nOkay then, we'll have to agree to disagree on that premise. 🙂\r\n\r\n(I do find it somewhat amusing that I'd explicitly planned to work on a new feature for `elm-test` tonight but find myself writing this sentence instead. Brains are weird.)\r\n\r\n> how is this style choosen?\r\n\r\nAs far as I know, Laszlo was the first person to write a public style guide for Elm, so that was the original starting point. It's never been democratic, because as @avh4 noted once on another thread, there's no way to get a representative sample. (Are people who knew there was a vote taking place more important users than those who didn't? What about people who aren't users today, but will be affected by its design in the future?)\r\n\r\nSo I'd say the design has evolved based on discussions of tradeoffs like the [issue you linked to](https://github.com/avh4/elm-format/issues/158). (As an aside, I'm unclear on how a public GitHub issue resides \"within the walls of NoRedInk,\" but that's neither here nor there.)\r\n\r\nAs an example of how design decisions are made, [here is an example of @avh4 collecting and publishing data on 2 spaces versus 4](https://github.com/avh4/elm-format/issues/158#issuecomment-218067873) and [another example where he talked about collecting input from community members on 2 vs 4](https://github.com/avh4/elm-format/issues/158#issuecomment-219262937).\r\n\r\n> To clarify the history here, 2-spaces was not chosen by popular vote. elm-format initially used 4-spaces, since that was the preferred style at the time. Some people had requested 2-space indentation, so I ran a survey to help me make an informed choice about whether or not to try 2-spaces.\r\n>\r\n> Here is what the survey found:\r\n>\r\n> * 85% of people have only tried one style\r\n> * 98% of people who have only tried one style prefer that style\r\n> * of the people who have tried both styles, 15% had no preference, and the rest were evenly split between 4-spaces and 2-spaces\r\n>\r\n> Since most people had been using 4-space indentation, we decided to try 2-space indentation as an experiment to give it a fair chance. **The feedback I've received from people who have now used both for extended periods of time has been in favor of 4-space indentation due to improved legibility.**\r\n\r\nThis is how contentious decisions have been made on this project: collecting information and making decisions backed up by reasoning. For my money (which I guess is none, since this is open-source software that @avh4 makes in his spare time for free), this seems like the best way to go."}}
{"actor":{"display_login":"rtfeldman"}}