{"action":"closed","issue":{"url":"https://api.github.com/repos/leorossa/first_learn/issues/7","labels_url":"https://api.github.com/repos/leorossa/first_learn/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/leorossa/first_learn/issues/7/comments","events_url":"https://api.github.com/repos/leorossa/first_learn/issues/7/events","html_url":"https://github.com/leorossa/first_learn/issues/7","id":123643485,"number":7,"title":"Нехорошо изменять аргументы командной строки","user":{"login":"cblp","id":63495,"avatar_url":"https://avatars.githubusercontent.com/u/63495?v=3","gravatar_id":"","url":"https://api.github.com/users/cblp","html_url":"https://github.com/cblp","followers_url":"https://api.github.com/users/cblp/followers","following_url":"https://api.github.com/users/cblp/following{/other_user}","gists_url":"https://api.github.com/users/cblp/gists{/gist_id}","starred_url":"https://api.github.com/users/cblp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cblp/subscriptions","organizations_url":"https://api.github.com/users/cblp/orgs","repos_url":"https://api.github.com/users/cblp/repos","events_url":"https://api.github.com/users/cblp/events{/privacy}","received_events_url":"https://api.github.com/users/cblp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-23T11:31:29Z","updated_at":"2015-12-23T23:30:57Z","closed_at":"2015-12-23T23:30:57Z","body":"Лучше скопировать в переменную внутри функции, и новую переменную изменять.\r\n\r\n@leorossa: А почему не хорошо и просто присвоить им значение?\r\n\r\n@cblp: Потому что в достаточно большой программе ты можешь забыть, что изменял параметр, передать его в другую функцию, из другой в третью, а потом долго разбираться, почему программа себя ведёт не так, как указывает пользователь."}}