unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: [elpa] master 24746ff 1/8: Drop Names dependency
Date: Tue, 13 Oct 2015 22:33:13 +0100	[thread overview]
Message-ID: <CAAdUY-LEUhuoR-2R9HXjeZDm-=0N15RaUY1FHt83VnpoUs_q-A@mail.gmail.com> (raw)
In-Reply-To: <jwvy4f6a84a.fsf-monnier+emacsdiffs@gnu.org>

On 13 Oct 2015 8:22 pm, "Stefan Monnier" <monnier@iro.umontreal.ca> wrote:
>
> >     Drop Names dependency
>
> Curious: why?
>
> PS: I'd guess that you ended up preferring nameless.el, but I'm
> interested in the actual details of why/how.

Yes I'm currently preferring nameless, though it's just a first assessment.

Comparing the two, they perform very similarly. Names is slightly
nicer when typing [1] and Nameless is slightly nicer when reading [2].
The difference that tips the scale is that Names comes with some
luggage.

- It imposes dependencies at autoload time.
- It makes completion a little less helpful (company-dabbrev
completion still works, but company-capf doesn't).
- It makes code-navigation a little more difficult (it does some
hacking so that things like `find-function/variable' still work, which
is all I ever use, but there are other methods and they will fail)
- It is a proper package dependency that gets installed on the user's
computer. This isn't really a failure. It's just slightly less
convenient than Nameless which is not a dependency.

Since Nameless is just completely clean, I'm leaning more towards it
right now. Not that I'm any less proud of Names. :-)
Sometimes you gotta climb a mountain to see that there's another way.


Artur

[1]: Not having to type the namespace is better than having a key that
inserts the namespace.
[2]: Both hide the namespace, but Nameless adds a colored ":" to the
symbol, which differentiates locals from globals and makes the code
slightly easier to understand.



  reply	other threads:[~2015-10-13 21:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20151013163724.20147.92642@vcs.savannah.gnu.org>
     [not found] ` <E1Zm2Zp-0005Fy-Al@vcs.savannah.gnu.org>
2015-10-13 19:22   ` [elpa] master 24746ff 1/8: Drop Names dependency Stefan Monnier
2015-10-13 21:33     ` Artur Malabarba [this message]
2015-10-15 14:49       ` Przemysław Wojnowski
2015-10-18 23:28         ` Artur Malabarba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAdUY-LEUhuoR-2R9HXjeZDm-=0N15RaUY1FHt83VnpoUs_q-A@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).