From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: (0 <= i && i < N) is not "backwards" Date: Mon, 25 Mar 2013 10:23:56 -0400 Message-ID: References: <514F88E9.2020600@cs.ucla.edu> <87vc8gmk29.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364221460 29952 80.91.229.3 (25 Mar 2013 14:24:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 14:24:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Pascal J. Bourguignon" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 25 15:24:45 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UK8KG-0001zy-OZ for ged-emacs-devel@m.gmane.org; Mon, 25 Mar 2013 15:24:40 +0100 Original-Received: from localhost ([::1]:50627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8Js-0007c5-Tg for ged-emacs-devel@m.gmane.org; Mon, 25 Mar 2013 10:24:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8Ji-0007aM-Km for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:24:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK8JZ-00037B-Dr for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:24:06 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:63897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8JZ-000374-8g for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:23:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="5714465" Original-Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Mar 2013 10:23:54 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6CE49678E2; Mon, 25 Mar 2013 10:23:56 -0400 (EDT) In-Reply-To: <87vc8gmk29.fsf@kuiper.lan.informatimago.com> (Pascal J. Bourguignon's message of "Mon, 25 Mar 2013 00:53:18 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158140 Archived-At: > 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. Stefan