emacs-devel
[Top][All Lists]
Advanced

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

Naming predicates (was: master d0c77a1: Remove some assumptions about ti


From: Stefan Monnier
Subject: Naming predicates (was: master d0c77a1: Remove some assumptions about timestamp format)
Date: Fri, 28 Sep 2018 14:06:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> Shouldn't this be `time-equal-p', as we have already `time-less-p'?
> Thanks, as a Scheme refugee I never can remember which predicates should end
> in "-p" vs "p" vs nothing. I installed the attached.

The rule is not that bad: use a "-p or p" suffix whenever a Schemer
would use a "?" suffix.  As for when to use "-p" vs just "p" I'd say you
can simply always use "-p" when it's something you define.


        Stefan "who likes Scheme's ?, ->, and ! naming conventions"




reply via email to

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