[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp
From: |
Bastien |
Subject: |
Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)) |
Date: |
Sat, 27 Jul 2013 13:43:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Nic and all,
Nic Ferrier <address@hidden> writes:
> They want to avoid having long names for symbols or name clashes for
> symbols.
You can have namespaces clashes too, it's purely conventional.
So to me the only complaint is about symbols' length.
But is that really such a big problem?
The common practice for Emacs Lisp seems to favor explicit and long
names over terse and hard-to-decipher ones. I guess the length of
the symbols is more due to this (good) practice than to the length
of prefixes.
Personally, what I really like in Emacs Lisp is precisely the fact
that variables and functions names are available from the same and
unique global space. When I read "org-x", it immediately tells me
where the variable is from, and I can use it as such from anywhere.
This is an advantage in terms of both discoverability and readability.
Maybe C-h a and friends can be clever enough to look up by taking a
namespace into account, but human-reading of the name of a variable
will not always be able to do this.
To sum up: I like the visual contextual clue you get with the prefix
and I'm not sure the length of symbols in *Elisp* is such a problem.
2 cts of course,
--
Bastien
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), (continued)
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Tom Tromey, 2013/07/26
- RE: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Drew Adams, 2013/07/26
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/26
- Re: CommonLisp namespace system, Lars Brinkhoff, 2013/07/26
- RE: CommonLisp namespace system, Drew Adams, 2013/07/26
- Re: CommonLisp namespace system, Nic Ferrier, 2013/07/26
- Re: CommonLisp namespace system, Lars Brinkhoff, 2013/07/29
- RE: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Drew Adams, 2013/07/26
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)),
Bastien <=
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), David Engster, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/28
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Jambunathan K, 2013/07/28
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/28
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/28
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/29
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/29
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/29