I’m fairly new to Ruby.
I was surprised to read that
a = b or c
will assign b to a, then perform a logical or of a and c.
I expected the precedence of and/or to be higher than = so that it would
perform a logical or of b and c, then assign the result to a.
Do people like it this way?
I’m interested in the rationale behind this decision.
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.