Wait, what? What is AliasSeq?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 8 19:58:31 PDT 2015


On 7/8/2015 7:22 PM, Jonathan M Davis wrote:
> On Thursday, 9 July 2015 at 00:11:17 UTC, Walter Bright wrote:
>> Which is why I simply picked the name Arguments. The s suffix means plural,
>> and doesn't give any preconceived notion about what kind of collection it is.
>> It's a convention I've been using in the dmd source for some time now, and
>> have found it to be natural and pleasing.
>
> Instead, it gives the idea that they're used specifically for arguments, which
> they aren't. They get used for a variety of things. Also, the term Arguments is
> going to be really confusing - just like talking about std.container.Array gets
> confusing, because the term array is already used for other stuff, and it's
> never clear what folks are talking about unless they get specific. At least when
> you use the term TypeTuple, everyone knows what you mean, even if it's a sucky
> name. Going with something like Arguments or Parameters or Aliases is just going
> to breed confusion.

What about the 's' suffix?



More information about the Digitalmars-d mailing list