On 14.05.2008 19:28, Kyle Schmitt wrote:
> Mac,
>       If your two arguments were methods however, and the first one
> succeeded, wouldn't you expect it to execute the second?

No, because "and", "or", "&&" and "||" short circuit - for good reason! 
  This allows for safer and more efficient code.  Consider

foo = ... # may be nil

foo and foo.do_something

If foo is nil you do not want #do_something to be invoked on it because 
it will raise an exception.  Also, it is not worthwhile to invoke it 
because regardless of return value the expression will be false (because 
foo is false).

Kind regards

	robert