{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/ruby-style-guide/issues/546","repository_url":"https://api.github.com/repos/bbatsov/ruby-style-guide","labels_url":"https://api.github.com/repos/bbatsov/ruby-style-guide/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/ruby-style-guide/issues/546/comments","events_url":"https://api.github.com/repos/bbatsov/ruby-style-guide/issues/546/events","html_url":"https://github.com/bbatsov/ruby-style-guide/pull/546","id":135396039,"number":546,"title":"add no greater-than rule","user":{"login":"kholbekj","id":2786571,"avatar_url":"https://avatars.githubusercontent.com/u/2786571?v=3","gravatar_id":"","url":"https://api.github.com/users/kholbekj","html_url":"https://github.com/kholbekj","followers_url":"https://api.github.com/users/kholbekj/followers","following_url":"https://api.github.com/users/kholbekj/following{/other_user}","gists_url":"https://api.github.com/users/kholbekj/gists{/gist_id}","starred_url":"https://api.github.com/users/kholbekj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kholbekj/subscriptions","organizations_url":"https://api.github.com/users/kholbekj/orgs","repos_url":"https://api.github.com/users/kholbekj/repos","events_url":"https://api.github.com/users/kholbekj/events{/privacy}","received_events_url":"https://api.github.com/users/kholbekj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-22T11:55:18Z","updated_at":"2016-02-22T15:56:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bbatsov/ruby-style-guide/pulls/546","html_url":"https://github.com/bbatsov/ruby-style-guide/pull/546","diff_url":"https://github.com/bbatsov/ruby-style-guide/pull/546.diff","patch_url":"https://github.com/bbatsov/ruby-style-guide/pull/546.patch"},"body":"This change, while maybe a bit controversial, is based on the ideas presented here:\r\nhttp://llewellynfalco.blogspot.de/2016/02/dont-use-greater-than-sign-in.html\r\n\r\nI have yet to hear drawbacks of this approach, and it greatly helps readability, especially for dates."},"comment":{"url":"https://api.github.com/repos/bbatsov/ruby-style-guide/issues/comments/187242671","html_url":"https://github.com/bbatsov/ruby-style-guide/pull/546#issuecomment-187242671","issue_url":"https://api.github.com/repos/bbatsov/ruby-style-guide/issues/546","id":187242671,"user":{"login":"dipth","id":171490,"avatar_url":"https://avatars.githubusercontent.com/u/171490?v=3","gravatar_id":"","url":"https://api.github.com/users/dipth","html_url":"https://github.com/dipth","followers_url":"https://api.github.com/users/dipth/followers","following_url":"https://api.github.com/users/dipth/following{/other_user}","gists_url":"https://api.github.com/users/dipth/gists{/gist_id}","starred_url":"https://api.github.com/users/dipth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dipth/subscriptions","organizations_url":"https://api.github.com/users/dipth/orgs","repos_url":"https://api.github.com/users/dipth/repos","events_url":"https://api.github.com/users/dipth/events{/privacy}","received_events_url":"https://api.github.com/users/dipth/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T15:56:33Z","updated_at":"2016-02-22T15:56:33Z","body":"I also want to point out that you could also use Ruby's Comparable mixin to get the best of both worlds when comparing ranges:\r\n\r\n```ruby\r\nuser.age.between? 18, 30\r\n```"}}