Wait, what? What is AliasSeq?

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 8 19:22:21 PDT 2015


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.

- Jonathan M Davis


More information about the Digitalmars-d mailing list