{"action":"created","issue":{"url":"https://api.github.com/repos/gfke/coding-styles/issues/2","labels_url":"https://api.github.com/repos/gfke/coding-styles/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/gfke/coding-styles/issues/2/comments","events_url":"https://api.github.com/repos/gfke/coding-styles/issues/2/events","html_url":"https://github.com/gfke/coding-styles/pull/2","id":94973769,"number":2,"title":"Proposal for mandatory use of framework functions","user":{"login":"lukas-zech-software","id":10512593,"avatar_url":"https://avatars.githubusercontent.com/u/10512593?v=3","gravatar_id":"","url":"https://api.github.com/users/lukas-zech-software","html_url":"https://github.com/lukas-zech-software","followers_url":"https://api.github.com/users/lukas-zech-software/followers","following_url":"https://api.github.com/users/lukas-zech-software/following{/other_user}","gists_url":"https://api.github.com/users/lukas-zech-software/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas-zech-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas-zech-software/subscriptions","organizations_url":"https://api.github.com/users/lukas-zech-software/orgs","repos_url":"https://api.github.com/users/lukas-zech-software/repos","events_url":"https://api.github.com/users/lukas-zech-software/events{/privacy}","received_events_url":"https://api.github.com/users/lukas-zech-software/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gfke/coding-styles/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"spanitz","id":1390840,"avatar_url":"https://avatars.githubusercontent.com/u/1390840?v=3","gravatar_id":"","url":"https://api.github.com/users/spanitz","html_url":"https://github.com/spanitz","followers_url":"https://api.github.com/users/spanitz/followers","following_url":"https://api.github.com/users/spanitz/following{/other_user}","gists_url":"https://api.github.com/users/spanitz/gists{/gist_id}","starred_url":"https://api.github.com/users/spanitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spanitz/subscriptions","organizations_url":"https://api.github.com/users/spanitz/orgs","repos_url":"https://api.github.com/users/spanitz/repos","events_url":"https://api.github.com/users/spanitz/events{/privacy}","received_events_url":"https://api.github.com/users/spanitz/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-07-14T15:34:50Z","updated_at":"2015-07-15T08:27:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gfke/coding-styles/pulls/2","html_url":"https://github.com/gfke/coding-styles/pull/2","diff_url":"https://github.com/gfke/coding-styles/pull/2.diff","patch_url":"https://github.com/gfke/coding-styles/pull/2.patch"},"body":"Proposal for mandatory use of framework functions\r\nI think it would be preferable to force the use of framework functions where available.\r\n\r\nOne addition I'm unsure about is wether to prefer framework functions also over native functions like \r\n```\r\n// bad\r\n['foo', 'bar'].foreach((x) => {log(x)})\r\n\r\n// good\r\n_.foreach(['foo', 'bar']), (x) => {log(x)})\r\n\r\n//maybe even better???\r\n//wrapping values makes calls very similar but enables chaining\r\n_(['foo', 'bar']).foreach((x) => {log(x)}).run()\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/gfke/coding-styles/issues/comments/121527681","html_url":"https://github.com/gfke/coding-styles/pull/2#issuecomment-121527681","issue_url":"https://api.github.com/repos/gfke/coding-styles/issues/2","id":121527681,"user":{"login":"Drexonom","id":12082192,"avatar_url":"https://avatars.githubusercontent.com/u/12082192?v=3","gravatar_id":"","url":"https://api.github.com/users/Drexonom","html_url":"https://github.com/Drexonom","followers_url":"https://api.github.com/users/Drexonom/followers","following_url":"https://api.github.com/users/Drexonom/following{/other_user}","gists_url":"https://api.github.com/users/Drexonom/gists{/gist_id}","starred_url":"https://api.github.com/users/Drexonom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drexonom/subscriptions","organizations_url":"https://api.github.com/users/Drexonom/orgs","repos_url":"https://api.github.com/users/Drexonom/repos","events_url":"https://api.github.com/users/Drexonom/events{/privacy}","received_events_url":"https://api.github.com/users/Drexonom/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T08:27:45Z","updated_at":"2015-07-15T08:27:45Z","body":"I prefer the usage of native functions as well, but I think @mstein77 is right - most functions from lodash are not natively supported and are very handy. So why should we not use it, where there is no native equivalent for it?"}}