bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#26564: Document that only functions and not variables can end with "


From: Drew Adams
Subject: bug#26564: Document that only functions and not variables can end with "-p"
Date: Sat, 12 Oct 2019 23:18:40 +0000 (UTC)

> +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}).

FWIW, I disagree with this new "convention".

1. There's no need for it.  What does it protect?

2. And using suffix `-p' can make clear the meaning
   and use of a variable, regardless of whether it's
   a formal parameter, a defvar, or a let variable.





reply via email to

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