[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (0 <= i && i < N) is not "backwards"

From: Stefan Monnier
Subject: Re: (0 <= i && i < N) is not "backwards"
Date: Mon, 25 Mar 2013 10:23:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Hence:                                (0==   r)

For equality comparisons, there's another reason to do "2 == x" rather
than "x == 2", which is that if you happen to miswrite it as "2 = x", the
compiler will detect the error.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]