Wait, what? What is AliasSeq?
Adam via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 20 10:06:29 PDT 2015
On Tuesday, 7 July 2015 at 22:22:02 UTC, Walter Bright wrote:
> On 7/7/2015 2:20 PM, David Nadlinger wrote:
>> On Tuesday, 7 July 2015 at 21:15:40 UTC, Andrei Alexandrescu
>> wrote:
>>> So I thought we were supposed to replace bad names with good
>>> names. Template
>>> arguments are indexable, so "sequence" doesn't quite apply.
>>
>> Apparently Walter was opposed to using List, as that would
>> somehow imply "linked
>> list".
>
> I opposed it because lists are not indexable, and tuples are.
huh? A List is an ordered sequence. Both are indexable.
https://en.wikipedia.org/wiki/Enumeration
Wiki:
A list is any enumeration of a set of items. List or lists may
also refer to:
and
Some sets can be enumerated by means of a natural ordering (such
as 1, 2, 3, 4, ... for the set of positive integers), but in
other cases it may be necessary to impose a (perhaps arbitrary)
ordering.
Why you use that logic to choose a word is a kinda strange. A
List doesn't imply much except what people want it to. You are
choosing a single interpretation to not use it, when there are
many.
A List is what someone creates with a pen and paper. It has an
ordering(the first one and last one). A linked list or "unordered
list" are just versions of a list.
A list is a list is a list!
Regardless, it's probably not the best term to use
TArgList or TArgSeq would be more descriptive.
More information about the Digitalmars-d
mailing list