Misconceptions about and, or, &&, and ||
Everyone should read this wonderful post by Avdi Grimm about âandâ and âorâ operators in Ruby. IMHO they are underutilized, partly in thanks to style guides that say âNEVER USE THESE!!!â. You absolutely should use them when it is the right time and place. As Avdi mentions, they are wonderful control-flow operators, so donât shy away!










