Thread overview | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 07, 2015 Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
So I thought we were supposed to replace bad names with good names. Template arguments are indexable, so "sequence" doesn't quite apply. What happened? Why are we replacing a crappy term with another crappy term? Andrei |
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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".
— David
|
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 07/07/2015 11:16 PM, Andrei Alexandrescu wrote: > Template arguments are indexable, so "sequence" doesn't quite apply. https://en.wikipedia.org/wiki/Sequence#Indexing |
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On Tuesday, 7 July 2015 at 21:20:54 UTC, 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".
>
> — David
List? I thought we had settled on:
std.meta.Arguments
|
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel N | On 7/7/15 5:32 PM, Daniel N wrote: > On Tuesday, 7 July 2015 at 21:20:54 UTC, 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". >> > > List? I thought we had settled on: > std.meta.Arguments That's what AliasSeq replaced. Arguments was not a very good name IMO. See my post on it here: http://forum.dlang.org/post/mmhfs1$2jc5$1@digitalmars.com I'm unsure if Andrei is referring to Arguments or TypeTuple when he says "bad names". -Steve |
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | 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.
|
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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.
>
> What happened? Why are we replacing a crappy term with another crappy term?
>
>
> Andrei
AliasSeq?? What is that even supposed to mean? Are we just throwing random words together?
|
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On 7/7/15 5: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".
And rightly so. It's just that "sequence" doesn't seem better. -- Andrei
|
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On 7/7/15 5:24 PM, Timon Gehr wrote: > On 07/07/2015 11:16 PM, Andrei Alexandrescu wrote: >> Template arguments are indexable, so "sequence" doesn't quite apply. > > https://en.wikipedia.org/wiki/Sequence#Indexing Hmm, fair enough. Sequential as opposed to associative. https://en.wikipedia.org/wiki/Sequence_container_(C%2B%2B) also comes to mind. Then, at least let's use the whole darn word. Doesn't seem like the short form is helping a lot here. Andrei |
July 07, 2015 Re: Wait, what? What is AliasSeq? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 7/7/15 7:29 PM, Andrei Alexandrescu wrote:
> On 7/7/15 5:24 PM, Timon Gehr wrote:
>> On 07/07/2015 11:16 PM, Andrei Alexandrescu wrote:
>>> Template arguments are indexable, so "sequence" doesn't quite apply.
>>
>> https://en.wikipedia.org/wiki/Sequence#Indexing
>
> Hmm, fair enough. Sequential as opposed to associative.
> https://en.wikipedia.org/wiki/Sequence_container_(C%2B%2B) also comes to
> mind.
>
> Then, at least let's use the whole darn word. Doesn't seem like the
> short form is helping a lot here.
>
>
> Andrei
In fact thinking of it AliasArray seems most descriptive. -- Andrei
|
Copyright © 1999-2021 by the D Language Foundation