[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generators (iterators) for Gnu Emacs
From: |
Daniel Colascione |
Subject: |
Re: Generators (iterators) for Gnu Emacs |
Date: |
Sat, 06 Dec 2014 22:10:47 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 12/06/2014 05:24 PM, Stefan Monnier wrote:
>> the environment. It's `car', goddammit it, not `seq-list-car'.
>
> Yup. `car' sucks as well, but it's too late to fix it.
No, `car' is fine: it's short and to the point. `next' would be too,
except that you insist that additions to the Emacs core look like a bowl
of corned beef hash, with chunks of `iter-'-this and `seq-' that
embedded all over the code for no good reason.
Prefixes are great for making sure out-of-tree packages don't conflict
with each other. For Emacs core functionality, requiring prefixes adds
friction and subtracts elegance, and because we manage all the names in
the core *anyway*, there's no risk of a conflict.
Any user code using a name like `next' for itself deserves to break, and
at least that pain is short-lived, while requiring some uselessly long
prefix for internal symbols makes life a little bit more difficult for
everyone forever.
signature.asc
Description: OpenPGP digital signature
- Re: Generators (iterators) for Gnu Emacs, (continued)
- Re: Generators (iterators) for Gnu Emacs, Thierry Volpiatto, 2014/12/05
- Re: Generators (iterators) for Gnu Emacs, Stefan Monnier, 2014/12/05
- Re: Generators (iterators) for Gnu Emacs, Michael Heerdegen, 2014/12/05
- Re: Generators (iterators) for Gnu Emacs, Stefan Monnier, 2014/12/05
- Re: Generators (iterators) for Gnu Emacs, Daniel Colascione, 2014/12/05
- Re: Generators (iterators) for Gnu Emacs, Michael Heerdegen, 2014/12/05
- Re: Generators (iterators) for Gnu Emacs, Michael Heerdegen, 2014/12/05
- Re: Generators (iterators) for Gnu Emacs, Stefan Monnier, 2014/12/05
- Re: Generators (iterators) for Gnu Emacs, Daniel Colascione, 2014/12/06
- Re: Generators (iterators) for Gnu Emacs, Stefan Monnier, 2014/12/06
- Re: Generators (iterators) for Gnu Emacs,
Daniel Colascione <=
- Re: Generators (iterators) for Gnu Emacs, Stefan Monnier, 2014/12/07
- Re: Generators (iterators) for Gnu Emacs, Daniel Colascione, 2014/12/07
- Re: Generators (iterators) for Gnu Emacs, Ted Zlatanov, 2014/12/07
- Namespace macros (was: Generators (iterators) for Gnu Emacs), Helmut Eller, 2014/12/07
- Re: Namespace macros (was: Generators (iterators) for Gnu Emacs), Artur Malabarba, 2014/12/07
- Re: Namespace macros, Helmut Eller, 2014/12/08
- Re: Namespace macros, Artur Malabarba, 2014/12/08
- Re: Namespace macros, Helmut Eller, 2014/12/08
- Re: Namespace macros, Artur Malabarba, 2014/12/08
- Re: Namespace macros, Dmitry Gutov, 2014/12/08