{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/651","labels_url":"https://api.github.com/repos/manastech/crystal/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/651/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/651/events","html_url":"https://github.com/manastech/crystal/issues/651","id":75018210,"number":651,"title":"method naming conventions","user":{"login":"Vikaton","id":9522710,"avatar_url":"https://avatars.githubusercontent.com/u/9522710?v=3","gravatar_id":"","url":"https://api.github.com/users/Vikaton","html_url":"https://github.com/Vikaton","followers_url":"https://api.github.com/users/Vikaton/followers","following_url":"https://api.github.com/users/Vikaton/following{/other_user}","gists_url":"https://api.github.com/users/Vikaton/gists{/gist_id}","starred_url":"https://api.github.com/users/Vikaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vikaton/subscriptions","organizations_url":"https://api.github.com/users/Vikaton/orgs","repos_url":"https://api.github.com/users/Vikaton/repos","events_url":"https://api.github.com/users/Vikaton/events{/privacy}","received_events_url":"https://api.github.com/users/Vikaton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-05-10T22:42:57Z","updated_at":"2015-05-14T07:20:57Z","closed_at":null,"body":"I have seen a few methods in Crystal that are borrowed from Ruby, but some of the method names are unnecessarily short/unreadable\r\n\r\nSo far I have seen only 2, `String.tr()` and `Int32.chr`\r\n\r\nFor those 2, .tr can be .replace or something a bit more recognizable and .chr should be .char, so it can be much more readable.\r\n\r\nThis is just a suggestion, and have only found 2 methods so far in the course of writing my code."},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/101950001","html_url":"https://github.com/manastech/crystal/issues/651#issuecomment-101950001","issue_url":"https://api.github.com/repos/manastech/crystal/issues/651","id":101950001,"user":{"login":"dziulius","id":63702,"avatar_url":"https://avatars.githubusercontent.com/u/63702?v=3","gravatar_id":"","url":"https://api.github.com/users/dziulius","html_url":"https://github.com/dziulius","followers_url":"https://api.github.com/users/dziulius/followers","following_url":"https://api.github.com/users/dziulius/following{/other_user}","gists_url":"https://api.github.com/users/dziulius/gists{/gist_id}","starred_url":"https://api.github.com/users/dziulius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dziulius/subscriptions","organizations_url":"https://api.github.com/users/dziulius/orgs","repos_url":"https://api.github.com/users/dziulius/repos","events_url":"https://api.github.com/users/dziulius/events{/privacy}","received_events_url":"https://api.github.com/users/dziulius/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T07:20:57Z","updated_at":"2015-05-14T07:20:57Z","body":"Why can't there be both? There is detect and find, collect and map. So if you made aliases for tr and chr, everyone would be happy."}}