{"action":"created","issue":{"url":"https://api.github.com/repos/ark-lang/ark/issues/430","labels_url":"https://api.github.com/repos/ark-lang/ark/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/ark-lang/ark/issues/430/comments","events_url":"https://api.github.com/repos/ark-lang/ark/issues/430/events","html_url":"https://github.com/ark-lang/ark/issues/430","id":91028704,"number":430,"title":"Why the *colons?","user":{"login":"rookieMP","id":712212,"avatar_url":"https://avatars.githubusercontent.com/u/712212?v=3","gravatar_id":"","url":"https://api.github.com/users/rookieMP","html_url":"https://github.com/rookieMP","followers_url":"https://api.github.com/users/rookieMP/followers","following_url":"https://api.github.com/users/rookieMP/following{/other_user}","gists_url":"https://api.github.com/users/rookieMP/gists{/gist_id}","starred_url":"https://api.github.com/users/rookieMP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rookieMP/subscriptions","organizations_url":"https://api.github.com/users/rookieMP/orgs","repos_url":"https://api.github.com/users/rookieMP/repos","events_url":"https://api.github.com/users/rookieMP/events{/privacy}","received_events_url":"https://api.github.com/users/rookieMP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-25T17:36:33Z","updated_at":"2015-06-25T18:00:53Z","closed_at":null,"body":"Hey there. Love this project, will definitely try to contribute at some point in the future. I see the clear go/rust inspiration and I think it's great. But my question is, why aren't you consistent with the syntax? I feel like Go's grammar (read: lexical conventions) is much better as it vastly reduces the amount of *colons I have to write.\r\nAdditionally, Go's grammar allows for anonymous structs and traits which can be very beneficial, but I suppose you can't really support anonymous traits due to the way your language works. Regardless, why all the *colons?"},"comment":{"url":"https://api.github.com/repos/ark-lang/ark/issues/comments/115345467","html_url":"https://github.com/ark-lang/ark/issues/430#issuecomment-115345467","issue_url":"https://api.github.com/repos/ark-lang/ark/issues/430","id":115345467,"user":{"login":"felixangell","id":6254332,"avatar_url":"https://avatars.githubusercontent.com/u/6254332?v=3","gravatar_id":"","url":"https://api.github.com/users/felixangell","html_url":"https://github.com/felixangell","followers_url":"https://api.github.com/users/felixangell/followers","following_url":"https://api.github.com/users/felixangell/following{/other_user}","gists_url":"https://api.github.com/users/felixangell/gists{/gist_id}","starred_url":"https://api.github.com/users/felixangell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixangell/subscriptions","organizations_url":"https://api.github.com/users/felixangell/orgs","repos_url":"https://api.github.com/users/felixangell/repos","events_url":"https://api.github.com/users/felixangell/events{/privacy}","received_events_url":"https://api.github.com/users/felixangell/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T18:00:53Z","updated_at":"2015-06-25T18:00:53Z","body":"The first point makes sense. The second point kind of makes sense, but I like to consider it's a function that is of the type, even though it returns it (if that makes any sense?). This was mostly chosen because you have the identifier on the left, and the type on the right, separated by a colon (more of a consistency thing?). As for the third type, that is an option we could do, but I would open a proposal and see if everyone else agrees. I'm sure @MovingtoMars will, since he's a bit of a Go fanboy <sup>;)</sup>. "}}