{"action":"created","issue":{"url":"https://api.github.com/repos/hylang/hy/issues/240","labels_url":"https://api.github.com/repos/hylang/hy/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/hylang/hy/issues/240/comments","events_url":"https://api.github.com/repos/hylang/hy/issues/240/events","html_url":"https://github.com/hylang/hy/issues/240","id":16554296,"number":240,"title":"Remove redundant keywords","user":{"login":"joehakimrahme","id":300964,"avatar_url":"https://avatars.githubusercontent.com/u/300964?v=3","gravatar_id":"","url":"https://api.github.com/users/joehakimrahme","html_url":"https://github.com/joehakimrahme","followers_url":"https://api.github.com/users/joehakimrahme/followers","following_url":"https://api.github.com/users/joehakimrahme/following{/other_user}","gists_url":"https://api.github.com/users/joehakimrahme/gists{/gist_id}","starred_url":"https://api.github.com/users/joehakimrahme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehakimrahme/subscriptions","organizations_url":"https://api.github.com/users/joehakimrahme/orgs","repos_url":"https://api.github.com/users/joehakimrahme/repos","events_url":"https://api.github.com/users/joehakimrahme/events{/privacy}","received_events_url":"https://api.github.com/users/joehakimrahme/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hylang/hy/labels/complaint%20/%20disgust","name":"complaint / disgust","color":"0b02e1"},{"url":"https://api.github.com/repos/hylang/hy/labels/docmebro","name":"docmebro","color":"ffaa99"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-07-10T00:02:21Z","updated_at":"2015-06-27T02:57:49Z","closed_at":null,"body":"There are redundant keywords in the current implementation:\r\n\r\n - `setf`/`setv`/`def`\r\n - `lambda`/`fn`\r\n - `for`/`foreach` (?)\r\n - `throw`/`raise`\r\n - `catch`/`except`\r\n - `do`/`prgn`\r\n\r\nI believe we should avoid any ambiguity by removing duplication and settling on one of each. It's one of these things that we should worry about now, while we can afford to break the language."},"comment":{"url":"https://api.github.com/repos/hylang/hy/issues/comments/115944037","html_url":"https://github.com/hylang/hy/issues/240#issuecomment-115944037","issue_url":"https://api.github.com/repos/hylang/hy/issues/240","id":115944037,"user":{"login":"gilch","id":3346292,"avatar_url":"https://avatars.githubusercontent.com/u/3346292?v=3","gravatar_id":"","url":"https://api.github.com/users/gilch","html_url":"https://github.com/gilch","followers_url":"https://api.github.com/users/gilch/followers","following_url":"https://api.github.com/users/gilch/following{/other_user}","gists_url":"https://api.github.com/users/gilch/gists{/gist_id}","starred_url":"https://api.github.com/users/gilch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilch/subscriptions","organizations_url":"https://api.github.com/users/gilch/orgs","repos_url":"https://api.github.com/users/gilch/repos","events_url":"https://api.github.com/users/gilch/events{/privacy}","received_events_url":"https://api.github.com/users/gilch/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T02:57:49Z","updated_at":"2015-06-27T02:57:49Z","body":"This redundancy also bothers me. If there actually is a meaningful difference in how things are compiled/optimized, (`lambda`/`fn`? `def`/`setv`?) then it should at least be **documented**, so we know which one to use when. But even then I'd prefer not to have to choose. Hy should use Clojure forms rather than Common Lisp forms when there are near equivalents to choose between.\r\n\r\nIn cases the above doesn't apply, I generally prefer the shorter names."}}