News for hackers. Stuff that matters.
Re:Don't use the greater than sign in programming by ch4s3 on Monday February 22, 2016 @11:20AM (#11151879)
I can see the utility for intervals, but for simple checks I think clarity of intent trumps all. Sometimes if foo.value > bar makes more sense. THis is especially true when foo is the subject of the method.

Someone already submitted a PR to the Ruby style guide for this, and I can't express how strongly I disagree. https://github.com/bbatsov/ruby-style-guide/pull/546

There are no comments on this comment yet.