{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/7656","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/7656/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/7656/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/7656/events","html_url":"https://github.com/nodejs/node/issues/7656","id":164831223,"number":7656,"title":"Composition vs. prototype for module exports","user":{"login":"danielsalles","id":419466,"avatar_url":"https://avatars.githubusercontent.com/u/419466?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsalles","html_url":"https://github.com/danielsalles","followers_url":"https://api.github.com/users/danielsalles/followers","following_url":"https://api.github.com/users/danielsalles/following{/other_user}","gists_url":"https://api.github.com/users/danielsalles/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsalles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsalles/subscriptions","organizations_url":"https://api.github.com/users/danielsalles/orgs","repos_url":"https://api.github.com/users/danielsalles/repos","events_url":"https://api.github.com/users/danielsalles/events{/privacy}","received_events_url":"https://api.github.com/users/danielsalles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/module","name":"module","color":"fbca04"},{"url":"https://api.github.com/repos/nodejs/node/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-11T13:00:04Z","updated_at":"2016-07-12T18:01:20Z","closed_at":null,"body":"I wonder if a change of module_exports prototype for composition would change many things? In my view, the composition is considerably more performative in relation to the prototype. Outside prototype stores waste in many inherited objects.\r\n\r\nWhen we think of a small-scale difference can be minimal, but in more complex applications the difference can be considerable.\r\n\r\nHave you ever thought in the case of rewriting the module exports?"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/232128397","html_url":"https://github.com/nodejs/node/issues/7656#issuecomment-232128397","issue_url":"https://api.github.com/repos/nodejs/node/issues/7656","id":232128397,"user":{"login":"Qard","id":205482,"avatar_url":"https://avatars.githubusercontent.com/u/205482?v=3","gravatar_id":"","url":"https://api.github.com/users/Qard","html_url":"https://github.com/Qard","followers_url":"https://api.github.com/users/Qard/followers","following_url":"https://api.github.com/users/Qard/following{/other_user}","gists_url":"https://api.github.com/users/Qard/gists{/gist_id}","starred_url":"https://api.github.com/users/Qard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qard/subscriptions","organizations_url":"https://api.github.com/users/Qard/orgs","repos_url":"https://api.github.com/users/Qard/repos","events_url":"https://api.github.com/users/Qard/events{/privacy}","received_events_url":"https://api.github.com/users/Qard/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T18:01:20Z","updated_at":"2016-07-12T18:01:20Z","body":"What @cjihrig was implying is that the module system is very core to how node.js works and therefore any changes to it could be *very* difficult on the community, so *any* changes to it at all will be under very heavy scrutiny. The chance of module system changes being accepted is very low due to the high risk of breaking the node ecosystem."}}
{"actor":{"display_login":"Qard"}}