{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/pxt/issues/883","repository_url":"https://api.github.com/repos/Microsoft/pxt","labels_url":"https://api.github.com/repos/Microsoft/pxt/issues/883/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt/issues/883/comments","events_url":"https://api.github.com/repos/Microsoft/pxt/issues/883/events","html_url":"https://github.com/Microsoft/pxt/issues/883","id":194189274,"number":883,"title":"User feedback: Where does initialization code go?","user":{"login":"microsoftsam","id":16690124,"avatar_url":"https://avatars.githubusercontent.com/u/16690124?v=3","gravatar_id":"","url":"https://api.github.com/users/microsoftsam","html_url":"https://github.com/microsoftsam","followers_url":"https://api.github.com/users/microsoftsam/followers","following_url":"https://api.github.com/users/microsoftsam/following{/other_user}","gists_url":"https://api.github.com/users/microsoftsam/gists{/gist_id}","starred_url":"https://api.github.com/users/microsoftsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microsoftsam/subscriptions","organizations_url":"https://api.github.com/users/microsoftsam/orgs","repos_url":"https://api.github.com/users/microsoftsam/repos","events_url":"https://api.github.com/users/microsoftsam/events{/privacy}","received_events_url":"https://api.github.com/users/microsoftsam/received_events","type":"User","site_admin":false},"labels":[{"id":315976363,"url":"https://api.github.com/repos/Microsoft/pxt/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-07T22:23:44Z","updated_at":"2016-12-07T22:23:44Z","closed_at":null,"body":"Hour of Code, 07/12/16, Darrington HS\r\n\r\nStudents struggled with understanding what order the disjoint blocks would run in, and where to add initialization code.\r\nI found that students had a tendency to have code blocks in their workspace that they didn't need to use, but didn't want to delete. (more for reference).\r\n\r\n\r\nWe need: \r\n- A better way to conceptualize where code initialization goes. Maybe a start / begin block. Where code starts. Event handlers can still go anywhere in the workspace, but all initialization code starts at \"start\"\r\n- A good way for students to have code in their workspace but not run, ie: ability to disable code blocks. I know we used to have this feature, and maybe we can think of a better way of disabling code than 'disable' in the context menu.\r\n\r\nLet's discuss."}}
{"actor":{"display_login":"microsoftsam"}}