s/type tuple/template pack/g please

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Aug 21 11:19:11 PDT 2013


On 8/21/13 11:10 AM, monarch_dodra wrote:
> On Wednesday, 21 August 2013 at 17:53:21 UTC, Andrei Alexandrescu wrote:
>> There's an inordinate amount of confusion around what we currently
>> call "type tuple" (embodied in std's TypeTuple). I've been furious
>> immediately as I got word that Walter called it that way, and it
>> hasn't failed to make everybody else feel the same over the years.
>>
>> So: shall we use "template pack" going forward exclusively whenever we
>> refer to that stuff? That way we can unambiguously use "tuple" for
>> "value tuples, i.e. like mini-structs that group values together".
>
> "template pack" isn't really clearer to me than "type tuple", IMO: Both
> only mean what we want them to mean (Kind of like RAII).
>
> If we want to be clearer/more accurate, then something along the lines
> of "variadic pack" or "variadic list" would be more descriptive.

I agree. Let's have an epic debate once and for all for the right name, 
and then use it consistently. This is one of those instances in which it 
becomes painfully obvious that names do matter.


Andrei



More information about the Digitalmars-d mailing list