From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 a9c48d5: Additional fixes for file notification Date: Wed, 24 Feb 2016 15:23:00 +1100 Message-ID: <87mvqqivob.fsf@gnus.org> References: <20160222175244.30186.2617@vcs.savannah.gnu.org> <87k2lwv5ob.fsf@gmx.de> <87egc4v4hs.fsf@gmx.de> <8bd4ec21-1306-41bf-aca7-5571a3014337@default> <87r3g4js64.fsf@gmail.com> <877fhuq2bw.fsf@gnus.org> <8737silq8u.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456287831 31301 80.91.229.3 (24 Feb 2016 04:23:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2016 04:23:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 24 05:23:43 2016 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 1aYQzG-0002lb-Eh for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2016 05:23:42 +0100 Original-Received: from localhost ([::1]:33441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYQzF-0005Y5-T1 for ged-emacs-devel@m.gmane.org; Tue, 23 Feb 2016 23:23:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYQzC-0005XP-5j for emacs-devel@gnu.org; Tue, 23 Feb 2016 23:23:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYQz7-0000Hb-3V for emacs-devel@gnu.org; Tue, 23 Feb 2016 23:23:38 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:51719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYQz6-0000HI-TR for emacs-devel@gnu.org; Tue, 23 Feb 2016 23:23:33 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aYQye-00007M-0n; Wed, 24 Feb 2016 05:23:04 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 23 Feb 2016 23:09:46 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aYQye-00007M-0n MailScanner-NULL-Check: 1456892585.02304@vPf8ZjkcDs9EeQ3G+j4MbA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:200596 Archived-At: Stefan Monnier writes: >> As for concise... sure, in characters. But not in meaning. If I'm >> reading code, I'm reading "if that is bigger than... zero!" instead of > > Just write it (> 0 x) so you don't have to "..." until the punchline. Eek! Yoda comparisons! I don't even understand what they mean. I mean, seriously. It takes me several seconds to reverse those in my head and be able to parse them. And that's common enough among programmers that one should never use them. >> immediately getting that it's a check for positivity. > > As mentioned, I never remember which kind of "positivity" is used where, > whereas (> 0 x) and (>= 0 x) are 100% unambiguous. Well, `plusp' is defined as "bigger than zero"... Once you've learned that, it's unambiguous. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no