On Sat, Jan 5, 2013 at 1:35 PM, <[email protected]> wrote: > So what's your practice/recommendation: > > 1. use only &&, || > 2. use only `and', `or' > 3. distinguish between boolean expressions (if this && that) > and control flow (loot = give_money or die) > 4. ???
3 - for both. Why should I recommend teaching a practice I don't follow. Then I'd rather explain only "&&" and "||", mention that there are also other boolean operators but that I'll cover them later in the tutorial etc. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
