|
From: | Michael Heerdegen |
Subject: | bug#26564: Document that only functions and not variables can end with "-p" |
Date: | Wed, 19 Apr 2017 23:49:16 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Kaushal Modi <kaushal.modi@gmail.com> writes: > -Examples are @code{framep} and @code{frame-live-p}. > +Examples are @code{framep} and @code{frame-live-p}. This predicate > +suffix should not be used in variable names (i.e., you might name a > +variable @code{foo-feature} instead of @code{foo-feature-p}). I think we should not discourage naming variables bound to a predicate "-p". I guess you only mean "boolean variables" here? Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |