{"action":"created","issue":{"url":"https://api.github.com/repos/oeed/Silica/issues/1","labels_url":"https://api.github.com/repos/oeed/Silica/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/oeed/Silica/issues/1/comments","events_url":"https://api.github.com/repos/oeed/Silica/issues/1/events","html_url":"https://github.com/oeed/Silica/issues/1","id":85770276,"number":1,"title":"A note about the program's environment","user":{"login":"MKlegoman357","id":6715384,"avatar_url":"https://avatars.githubusercontent.com/u/6715384?v=3","gravatar_id":"","url":"https://api.github.com/users/MKlegoman357","html_url":"https://github.com/MKlegoman357","followers_url":"https://api.github.com/users/MKlegoman357/followers","following_url":"https://api.github.com/users/MKlegoman357/following{/other_user}","gists_url":"https://api.github.com/users/MKlegoman357/gists{/gist_id}","starred_url":"https://api.github.com/users/MKlegoman357/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MKlegoman357/subscriptions","organizations_url":"https://api.github.com/users/MKlegoman357/orgs","repos_url":"https://api.github.com/users/MKlegoman357/repos","events_url":"https://api.github.com/users/MKlegoman357/events{/privacy}","received_events_url":"https://api.github.com/users/MKlegoman357/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-06-06T15:29:45Z","updated_at":"2015-12-04T11:42:05Z","closed_at":null,"body":"Hey, I noticed that you started to work on this project and I already have a design suggestion that should be applied in the beginning of the project, if applied at all.\r\n\r\nOne thing I disliked Bedrock about was that everything was being put in the global environment. This is really great when dealing with multiple files, but I had some problems where I had to restart the CC-computer to get the code to reload while developing. Also, this meant that if multiple Bedrock programs were ran at the same time in the same environment they overrode some classes and other variables which then broke programs. Another issue was security - password text boxes. You could easily find the textbox and it's value when the program is running.\r\n\r\nMy suggestion is simple: make a separate environment whenever the program loads so nothing would be put into the global environment.\r\n\r\nAnd good luck on the project! That sketch Oeed put on the forums looks really great!"},"comment":{"url":"https://api.github.com/repos/oeed/Silica/issues/comments/161948145","html_url":"https://github.com/oeed/Silica/issues/1#issuecomment-161948145","issue_url":"https://api.github.com/repos/oeed/Silica/issues/1","id":161948145,"user":{"login":"oeed","id":3835991,"avatar_url":"https://avatars.githubusercontent.com/u/3835991?v=3","gravatar_id":"","url":"https://api.github.com/users/oeed","html_url":"https://github.com/oeed","followers_url":"https://api.github.com/users/oeed/followers","following_url":"https://api.github.com/users/oeed/following{/other_user}","gists_url":"https://api.github.com/users/oeed/gists{/gist_id}","starred_url":"https://api.github.com/users/oeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oeed/subscriptions","organizations_url":"https://api.github.com/users/oeed/orgs","repos_url":"https://api.github.com/users/oeed/repos","events_url":"https://api.github.com/users/oeed/events{/privacy}","received_events_url":"https://api.github.com/users/oeed/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T11:42:05Z","updated_at":"2015-12-04T11:42:05Z","body":"The new class system mainly solves this, although there might be the odd variable still in _G, I'll fix this soon."}}