[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding support for xref jumping to headers/interfaces
From: |
Yuan Fu |
Subject: |
Re: Adding support for xref jumping to headers/interfaces |
Date: |
Mon, 27 Feb 2023 16:18:14 -0800 |
> On Feb 27, 2023, at 3:34 PM, Dmitry Gutov <dgutov@yandex.ru> wrote:
>
> On 28/02/2023 01:12, Stephen Leake wrote:
>> Dmitry Gutov<dgutov@yandex.ru> writes:
>>> About the name, though -- does "jump to interfaces" make sense for
>>> many languages? To my ear, the naming seems specific to OCaml.
>>>
>>> "jump to declaration(s)", perhaps?
>> In Ada, the term is "specification(s)". I don't know of other languages
>> that use it, but the English meaning is clear.
>
> That sounds clear enough, but if it's only an Ada term, it might not be the
> best choice for other languages. E.g. from completion POV.
>
> This seems like a good occasion for a popular vote. So everyone is welcome to
> state their preferred naming.
>
I think “interface” is widely used and conveys the meaning well. Java, Clojure
and Javascript call them interfaces, too.
Yuan