On Sat, Dec 10, 2011 at 08:53, Emeka Patrick <emekapatrick / gmail.com> wrote:

> Didn't cover && as of yet in the book
> so wasn't aware of using it as an option.

Oh!  They're usually covered more or less together.

Also, as you may have figured out, anything you can do with either
one, you can also do with the other.  (Though it will often take
sprinkling in some negations too.)  When to use which one, is mainly a
matter of making the code clear, though sometimes there may be
efficiency benefits too.

-Dave

-- 
LOOKING FOR WORK! What: Ruby (on/off Rails), Python, other modern languages.
Where: Northern Virginia, Washington DC (near Orange Line), and remote work.
See: davearonson.com (main) * codosaur.us (code) * dare2xl.com (excellence).
Specialization is for insects. (Heinlein) - Have Pun, Will Babble! (Aronson)