------art_18018_6597157.1181093842995
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Is there a short circuit AND in ruby?

Just wondering...

On 6/5/07, James Edward Gray II <james / grayproductions.net> wrote:
>
> On Jun 5, 2007, at 9:29 AM, Rob Biedenharn wrote:
>
> > If I were giving this test, extra credit would be earned for
> > knowing that i%15 0 is equivalent to (i%3 && i%5) because
> > I can't imagine a programmer being very good without a firm grasp
> > of some math as basic as this.
>
> I guess you wouldn't hire me.  I used the double-test form because I
> thought it was self documenting.
>
> James Edward Gray II
>
>

------art_18018_6597157.1181093842995--