Alexey Verkhovsky wrote:
Personally, I like 'and' and 'or' because it often reads better than &&
and ||.
Especially in statement like
redirect_to :action => "show" and return
or
foo = find_foo or raise 'Foo not found'
I'm not opposed to and/or for these cases. Perhaps it's better to say
"always use && and || for logical test purposes" and allow 'and' and
'or' to be used for purely flow-control related purposes.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email