emacs-devel
[Top][All Lists]
Advanced

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

Re: Help sought understanding shorthands wrt modules/packages


From: Matt Armstrong
Subject: Re: Help sought understanding shorthands wrt modules/packages
Date: Tue, 22 Nov 2022 10:01:33 -0800

Richard Stallman <rms@gnu.org> writes:

> The only drawback of our current use of naming conventions is the need
> to write long names in your code when referring to functions and
> variables defined in other parts of Emacs.  If your code refers to
> many such entry points of a certain part of Emacs, maybe you want to
> abbreviate those.

I think there is another drawback of Emacs' prefix based namespace
convention: that of longer local (private, non-public, unexported, etc.)
names.  In C, this is achieved with static functions and variables.  In
Common Lisp this is achieved by exporting only the public symbols.



reply via email to

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