unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* library/package filename prefixes
@ 2020-05-01 21:07 Drew Adams
  2020-05-02 18:35 ` Yuan Fu
  2020-05-03  3:39 ` Richard Stallman
  0 siblings, 2 replies; 11+ messages in thread
From: Drew Adams @ 2020-05-01 21:07 UTC (permalink / raw)
  To: Emacs developers

FWIW -

I think the "Emacs Lisp Coding Conventions" node
of the Elisp manual should be amended to say that
a library/package prefix should be at least 2
chars followed by a hyphen (`-').  And even add
that 3 or more is preferable.

https://www.gnu.org/software/emacs/manual/html_node/elisp/Coding-Conventions.html

(Should we also say that the first char should
not be a hyphen, or that not all prefix chars
should be hyphens, or ...?)

I think it's misguided, short-sighted, and even
perhaps a bit self-centered for people to have
named libraries `-.el', `s.el', etc. and used
function and variable names with prefix `-',
`s-', etc.

"Too clever by half" is an expression that comes
to mind.  Cute, but not great for playing in the
communal sandbox.

This opinion takes nothing away from the quality
or worth of such libraries.  It's only the naming
I take issue with.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-05-05  4:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01 21:07 library/package filename prefixes Drew Adams
2020-05-02 18:35 ` Yuan Fu
2020-05-03  3:39 ` Richard Stallman
2020-05-03  4:17   ` Stefan Monnier
2020-05-04  3:08     ` Richard Stallman
2020-05-04 12:13       ` Eric Ludlam
2020-05-04 14:30       ` Eli Zaretskii
2020-05-04 15:49         ` Stefan Monnier
2020-05-04 16:19       ` Drew Adams
2020-05-05  2:51         ` Richard Stallman
2020-05-05  4:39           ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).