{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/11891","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/11891/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11891/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/11891/events","html_url":"https://github.com/JuliaLang/julia/pull/11891","id":91475482,"number":11891,"title":"RFC: Deprecate `f (...)`, `x [...]` and `f {T}` syntax","user":{"login":"ninjin","id":354934,"avatar_url":"https://avatars.githubusercontent.com/u/354934?v=3","gravatar_id":"","url":"https://api.github.com/users/ninjin","html_url":"https://github.com/ninjin","followers_url":"https://api.github.com/users/ninjin/followers","following_url":"https://api.github.com/users/ninjin/following{/other_user}","gists_url":"https://api.github.com/users/ninjin/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjin/subscriptions","organizations_url":"https://api.github.com/users/ninjin/orgs","repos_url":"https://api.github.com/users/ninjin/repos","events_url":"https://api.github.com/users/ninjin/events{/privacy}","received_events_url":"https://api.github.com/users/ninjin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/parser","name":"parser","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-27T14:38:12Z","updated_at":"2015-06-27T14:57:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/11891","html_url":"https://github.com/JuliaLang/julia/pull/11891","diff_url":"https://github.com/JuliaLang/julia/pull/11891.diff","patch_url":"https://github.com/JuliaLang/julia/pull/11891.patch"},"body":"The overall agreement in #7232 seems to be that we should deprecate `f (17)` and now is as good of a time as any to go ahead and do this.  This PR takes this even further and deprecates\r\n\r\n1. `f (17)`\r\n2. `x [17]`\r\n3. `rand(17) [17]`\r\n4. `f {T}(x::T) = T`\r\n5. `function f () 17 end`\r\n\r\nI also considered deprecating `f .env` and `f. env`, but I can see the use for them when it comes to chaining calls.  However, an argument for deprecating them would be that we are trying to push the idea that Julia is not a dot-oriented language.  Deprecating the dots as well could then allow us to push this direction further.  Any thoughts on the matter?\r\n\r\nI had never written a single line of Lisp until I started on this PR, feedback is most welcome."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/116083332","html_url":"https://github.com/JuliaLang/julia/pull/11891#issuecomment-116083332","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11891","id":116083332,"user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars.githubusercontent.com/u/712232?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T14:57:33Z","updated_at":"2015-06-27T14:57:33Z","body":"> Sadly, yes, but is there really anything that we can do about `[sin (17)]`?\r\n\r\nNot really anything now but this is the most appealing and objective reason for me to deprecate (and possibly disallow) `sin (17)`.\r\n"}}