emacs-devel
[Top][All Lists]
Advanced

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

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


From: Andreas Schwab
Subject: Re: (0 <= i && i < N) is not "backwards"
Date: Mon, 25 Mar 2013 15:59:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> 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.

Fortunately, the emacs source is free from this ugliness.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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