{"action":"created","issue":{"url":"https://api.github.com/repos/raywenderlich/swift-style-guide/issues/176","repository_url":"https://api.github.com/repos/raywenderlich/swift-style-guide","labels_url":"https://api.github.com/repos/raywenderlich/swift-style-guide/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/raywenderlich/swift-style-guide/issues/176/comments","events_url":"https://api.github.com/repos/raywenderlich/swift-style-guide/issues/176/events","html_url":"https://github.com/raywenderlich/swift-style-guide/issues/176","id":152662910,"number":176,"title":"Member definition on the same line","user":{"login":"kevinrandrup","id":5884570,"avatar_url":"https://avatars.githubusercontent.com/u/5884570?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinrandrup","html_url":"https://github.com/kevinrandrup","followers_url":"https://api.github.com/users/kevinrandrup/followers","following_url":"https://api.github.com/users/kevinrandrup/following{/other_user}","gists_url":"https://api.github.com/users/kevinrandrup/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinrandrup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinrandrup/subscriptions","organizations_url":"https://api.github.com/users/kevinrandrup/orgs","repos_url":"https://api.github.com/users/kevinrandrup/repos","events_url":"https://api.github.com/users/kevinrandrup/events{/privacy}","received_events_url":"https://api.github.com/users/kevinrandrup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-02T22:45:01Z","updated_at":"2016-05-20T07:57:46Z","closed_at":null,"body":"Classes and Structures -> Example Definition\r\n\r\n    class Circle: Shape {\r\n      var x: Int, y: Int\r\n      ...\r\n\r\nIf they are being treated as a single entity why not use CGPoint or a tuple instead? \r\n\r\n\"Common purpose/context\" sounds like you would want a tuple."},"comment":{"url":"https://api.github.com/repos/raywenderlich/swift-style-guide/issues/comments/220540036","html_url":"https://github.com/raywenderlich/swift-style-guide/issues/176#issuecomment-220540036","issue_url":"https://api.github.com/repos/raywenderlich/swift-style-guide/issues/176","id":220540036,"user":{"login":"rayfix","id":137963,"avatar_url":"https://avatars.githubusercontent.com/u/137963?v=3","gravatar_id":"","url":"https://api.github.com/users/rayfix","html_url":"https://github.com/rayfix","followers_url":"https://api.github.com/users/rayfix/followers","following_url":"https://api.github.com/users/rayfix/following{/other_user}","gists_url":"https://api.github.com/users/rayfix/gists{/gist_id}","starred_url":"https://api.github.com/users/rayfix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayfix/subscriptions","organizations_url":"https://api.github.com/users/rayfix/orgs","repos_url":"https://api.github.com/users/rayfix/repos","events_url":"https://api.github.com/users/rayfix/events{/privacy}","received_events_url":"https://api.github.com/users/rayfix/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T07:57:46Z","updated_at":"2016-05-20T07:57:46Z","body":"Yeah, sorry.  It was meant to be SobelSample or SobelPixel.  I am sure that makes it clear now. ;]  (There is a reason why that isn't in the actual guide. 😉 )\r\n\r\nThe point I was trying to make is have two variables that are closely related to one another such as x and y or angle and magnitude, it is okay to declare them on the same line.  There is a reason why Swift affords this kind of initialization pattern and I think it is okay to use it."}}
{"actor":{"display_login":"rayfix"}}