News for hackers. Stuff that matters.
Re:JavaScript Hacks for Hipsters by JonnieCache on Thursday October 09, 2014 @10:45AM (#8432643)
I agree that it's ugly, but also in some languages you can get into trouble because of operator precedence. This is why ruby and perl have the operators `or` and `and` as well as || and &&.

http://devblog.avdi.org/2010/08/02/using-and-and-or-in-ruby/

There are no comments on this comment yet.