{"comment":{"url":"https://api.github.com/repos/yankejustin/xRAT/comments/11122120","html_url":"https://github.com/yankejustin/xRAT/commit/6e07cb080578300efd308953a4baa2905fcf1ce9#commitcomment-11122120","id":11122120,"user":{"login":"yankejustin","id":9338742,"avatar_url":"https://avatars.githubusercontent.com/u/9338742?v=3","gravatar_id":"","url":"https://api.github.com/users/yankejustin","html_url":"https://github.com/yankejustin","followers_url":"https://api.github.com/users/yankejustin/followers","following_url":"https://api.github.com/users/yankejustin/following{/other_user}","gists_url":"https://api.github.com/users/yankejustin/gists{/gist_id}","starred_url":"https://api.github.com/users/yankejustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yankejustin/subscriptions","organizations_url":"https://api.github.com/users/yankejustin/orgs","repos_url":"https://api.github.com/users/yankejustin/repos","events_url":"https://api.github.com/users/yankejustin/events{/privacy}","received_events_url":"https://api.github.com/users/yankejustin/received_events","type":"User","site_admin":false},"position":6,"line":135,"path":"Client/Core/Keylogger/Logger.cs","commit_id":"6e07cb080578300efd308953a4baa2905fcf1ce9","created_at":"2015-05-10T06:31:38Z","updated_at":"2015-05-10T06:31:38Z","body":"I certainly only add them when necessary, but mainly for the sake of readability. However, sometimes they are especially necessary inside of loops where, if what is done inside could go wrong, we would not like it to prevent the rest of the items to not be used. The only measurable performance hit would very likely be if we modified the scope of a few variables and caused the compiler to not be able to optimize the code as well as it could have otherwise. However, in such a situation, the reason for the performance hit could be avoided by careful construction of the logic to not heavily require such optimization."}}