How to use Ruby’s English and/or operators without going nuts

A murb'ed feed, posted 14 days ago filed in , , & .

Apparently I wasn’t programming ruby the right way. I actually enjoyed the and and or statements, even in if-statements, and preferr them over the more classical programming constructs of && and ||… but this article explains the ‘right’ way:

But on the other hand, hey, both works, do what you like. Ruby is a friend, not a compiler.

Go to the original link.