{"comment":{"url":"https://api.github.com/repos/BlueSaint/DarkOfTheNight/comments/18615390","html_url":"https://github.com/BlueSaint/DarkOfTheNight/commit/03c99112e188b2c9a623c32e51251ce54e152f69#commitcomment-18615390","id":18615390,"user":{"login":"Cokemonkey11","id":1418966,"avatar_url":"https://avatars.githubusercontent.com/u/1418966?v=3","gravatar_id":"","url":"https://api.github.com/users/Cokemonkey11","html_url":"https://github.com/Cokemonkey11","followers_url":"https://api.github.com/users/Cokemonkey11/followers","following_url":"https://api.github.com/users/Cokemonkey11/following{/other_user}","gists_url":"https://api.github.com/users/Cokemonkey11/gists{/gist_id}","starred_url":"https://api.github.com/users/Cokemonkey11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cokemonkey11/subscriptions","organizations_url":"https://api.github.com/users/Cokemonkey11/orgs","repos_url":"https://api.github.com/users/Cokemonkey11/repos","events_url":"https://api.github.com/users/Cokemonkey11/events{/privacy}","received_events_url":"https://api.github.com/users/Cokemonkey11/received_events","type":"User","site_admin":false},"position":55,"line":55,"path":"wurst/framework/components/DifficultyPick.wurst","commit_id":"03c99112e188b2c9a623c32e51251ce54e152f69","created_at":"2016-08-11T22:57:24Z","updated_at":"2016-08-11T22:57:24Z","body":"If you use `let`, you can be confident that you haven't changed the `DialogPoll` pointed to by `poll`.\r\n\r\nSo, `let poll = new DialogPoll(\"Vote for difficulty\")` is nice because wurst will complain if you accidentally do this:\r\n\r\n```\r\nlet poll = new DialogPoll(\"...\") // A\r\n// bunch of stuff with poll\r\n\r\n//  Error: Can't reassign to poll.\r\npoll = new DialogPoll(\"...\") // B\r\npoll.addClient(q) // Programmer expected to be interacting with A, but accidentally referred to B.\r\n```"}}
{"actor":{"display_login":"Cokemonkey11"}}