{"action":"created","issue":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4900","repository_url":"https://api.github.com/repos/jashkenas/coffeescript","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4900/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4900/comments","events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4900/events","html_url":"https://github.com/jashkenas/coffeescript/issues/4900","id":298140685,"number":4900,"title":"CS2 Discussion: Features: let/const/var","user":{"login":"coffeescriptbot","id":36576729,"avatar_url":"https://avatars1.githubusercontent.com/u/36576729?v=4","gravatar_id":"","url":"https://api.github.com/users/coffeescriptbot","html_url":"https://github.com/coffeescriptbot","followers_url":"https://api.github.com/users/coffeescriptbot/followers","following_url":"https://api.github.com/users/coffeescriptbot/following{/other_user}","gists_url":"https://api.github.com/users/coffeescriptbot/gists{/gist_id}","starred_url":"https://api.github.com/users/coffeescriptbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coffeescriptbot/subscriptions","organizations_url":"https://api.github.com/users/coffeescriptbot/orgs","repos_url":"https://api.github.com/users/coffeescriptbot/repos","events_url":"https://api.github.com/users/coffeescriptbot/events{/privacy}","received_events_url":"https://api.github.com/users/coffeescriptbot/received_events","type":"User","site_admin":false},"labels":[{"id":841194363,"url":"https://api.github.com/repos/jashkenas/coffeescript/labels/new%20feature","name":"new feature","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-19T01:40:35Z","updated_at":"2018-02-19T01:40:38Z","closed_at":null,"author_association":"COLLABORATOR","body":"_From @DomVinyard on July 11, 2016 12:13_\n\nPersonally, I believe these should be untouched. I can see that there is a case for implementing _const_ in almost any language remit. But not coffeescript.\n\n\n_Copied from original issue: coffeescript6/discuss#1_"},"comment":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/comments/366569353","html_url":"https://github.com/jashkenas/coffeescript/issues/4900#issuecomment-366569353","issue_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4900","id":366569353,"user":{"login":"coffeescriptbot","id":36576729,"avatar_url":"https://avatars1.githubusercontent.com/u/36576729?v=4","gravatar_id":"","url":"https://api.github.com/users/coffeescriptbot","html_url":"https://github.com/coffeescriptbot","followers_url":"https://api.github.com/users/coffeescriptbot/followers","following_url":"https://api.github.com/users/coffeescriptbot/following{/other_user}","gists_url":"https://api.github.com/users/coffeescriptbot/gists{/gist_id}","starred_url":"https://api.github.com/users/coffeescriptbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coffeescriptbot/subscriptions","organizations_url":"https://api.github.com/users/coffeescriptbot/orgs","repos_url":"https://api.github.com/users/coffeescriptbot/repos","events_url":"https://api.github.com/users/coffeescriptbot/events{/privacy}","received_events_url":"https://api.github.com/users/coffeescriptbot/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T01:40:38Z","updated_at":"2018-02-19T01:40:38Z","author_association":"COLLABORATOR","body":"_From @rattrayalex on July 12, 2016 4:58_\n\nI don't think there's much reason to use `let` since coffeescript's `var`'s have (most of) the same benefits; they are block-scoped. \n\nIf adding a `const` keyword isn't too hard, it might be worthwhile. \n\nAn alternative would be to have all variables by `const` by default, and allow explicit `var` or `let` declarations. I assume this would be more work, as the scoping code coffeescript undertakes would be mostly-removed. \n"}}
{"actor":{"display_login":"coffeescriptbot"}}