From: Joel Pearson Date: 2013-01-06T04:23:47+09:00 Subject: Re: Best practice for &&, ||, and, or unknown wrote in post #1091146: > Am 05.01.2013 17:25, schrieb Joel Pearson: >> Well, you might already be familiar with this, but this is what I use: >> >> "Use &&/|| for boolean expressions, and/or for control flow. (Rule of >> thumb: If you have to use outer parentheses, you are using the wrong >> operators.)" >> >> Excerpt from: https://github.com/bbatsov/ruby-style-guide >> > > Maybe(?) worth mentioning that the Github Ruby Styleguide, though based > on the guide cited by you, explicitly differs in this point. Good point, actually I think I nearly always use && ||. To be fair I think all my flow control ends up boolean anyway. -- Posted via http://www.ruby-forum.com/.