emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record


From: Stefan Monnier
Subject: Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types.
Date: Thu, 14 Dec 2017 09:08:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> Moving forward, I'd expect that "types" will get a more first-class
>> presence in Elisp, so you should be able to check if a given type name
>> is already used.
> If type names are global, that won't be enough to avoid conflicts.
> You must avoid conflicts with all the Lisp packages that _might_ get
> loaded.
> It's just like the situation with function definitions and global variables.

Exactly, and this has been with us for years and years.  This is not
a new problem, has standard solutions, and people already use those solutions.

> That means you should use your package's naming convention for record
> types, just as for functions and global variables, to avoid conflicts
> with other packages that you don't know about.

And that's already what has been done all these years.


        Stefan




reply via email to

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