{"action":"created","issue":{"url":"https://api.github.com/repos/learn-co-students/swift-switchLab-lab-ios-0616/issues/1","repository_url":"https://api.github.com/repos/learn-co-students/swift-switchLab-lab-ios-0616","labels_url":"https://api.github.com/repos/learn-co-students/swift-switchLab-lab-ios-0616/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/learn-co-students/swift-switchLab-lab-ios-0616/issues/1/comments","events_url":"https://api.github.com/repos/learn-co-students/swift-switchLab-lab-ios-0616/issues/1/events","html_url":"https://github.com/learn-co-students/swift-switchLab-lab-ios-0616/pull/1","id":164934937,"number":1,"title":"done","user":{"login":"EMG114","id":9851312,"avatar_url":"https://avatars.githubusercontent.com/u/9851312?v=3","gravatar_id":"","url":"https://api.github.com/users/EMG114","html_url":"https://github.com/EMG114","followers_url":"https://api.github.com/users/EMG114/followers","following_url":"https://api.github.com/users/EMG114/following{/other_user}","gists_url":"https://api.github.com/users/EMG114/gists{/gist_id}","starred_url":"https://api.github.com/users/EMG114/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EMG114/subscriptions","organizations_url":"https://api.github.com/users/EMG114/orgs","repos_url":"https://api.github.com/users/EMG114/repos","events_url":"https://api.github.com/users/EMG114/events{/privacy}","received_events_url":"https://api.github.com/users/EMG114/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-11T21:08:54Z","updated_at":"2016-07-12T01:11:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/learn-co-students/swift-switchLab-lab-ios-0616/pulls/1","html_url":"https://github.com/learn-co-students/swift-switchLab-lab-ios-0616/pull/1","diff_url":"https://github.com/learn-co-students/swift-switchLab-lab-ios-0616/pull/1.diff","patch_url":"https://github.com/learn-co-students/swift-switchLab-lab-ios-0616/pull/1.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/learn-co-students/swift-switchLab-lab-ios-0616/issues/comments/231910919","html_url":"https://github.com/learn-co-students/swift-switchLab-lab-ios-0616/pull/1#issuecomment-231910919","issue_url":"https://api.github.com/repos/learn-co-students/swift-switchLab-lab-ios-0616/issues/1","id":231910919,"user":{"login":"JimCampagno","id":10253984,"avatar_url":"https://avatars.githubusercontent.com/u/10253984?v=3","gravatar_id":"","url":"https://api.github.com/users/JimCampagno","html_url":"https://github.com/JimCampagno","followers_url":"https://api.github.com/users/JimCampagno/followers","following_url":"https://api.github.com/users/JimCampagno/following{/other_user}","gists_url":"https://api.github.com/users/JimCampagno/gists{/gist_id}","starred_url":"https://api.github.com/users/JimCampagno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimCampagno/subscriptions","organizations_url":"https://api.github.com/users/JimCampagno/orgs","repos_url":"https://api.github.com/users/JimCampagno/repos","events_url":"https://api.github.com/users/JimCampagno/events{/privacy}","received_events_url":"https://api.github.com/users/JimCampagno/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T01:11:14Z","updated_at":"2016-07-12T01:11:14Z","body":"Overall, very good. Make sure when writing your functions, you get used to the correct spacing. Develop that habit now so it sticks with you throughout the coming months.\r\n\r\nAs well, when you are naming your arguments.. try to lean away from names like `arg1`, `arg2`. Even in this scenario where you're solving these arbitrary problems.. come up with a scenario that makes it more readable when implementing the function (where you will actually use `arg1` and `arg2`.\r\n\r\nAs well, if someone calling on your function is just passing in a bunch of numbers after one another.. think about excluding the external name with an underbar like this as it becomes nicer when calling on the function.\r\n\r\n```swift\r\nfunc averageOfNumbers(a: Double, _ b: Double, _ c: Double) -> Double {\r\n    return (a + b + c) / 3\r\n}\r\n\r\naverageOfNumbers(10.5, 22.5, 20.0)\r\n```\r\n\r\n@EMG114 "}}
{"actor":{"display_login":"JimCampagno"}}