On Wednesday, 8 July 2015 at 16:44:13 UTC, Jonathan M Davis wrote:
On Wednesday, 8 July 2015 at 14:45:55 UTC, Xiaoxi wrote:
On Wednesday, 8 July 2015 at 14:18:20 UTC, Jonathan M Davis wrote:

And renaming TypeTuple to Aliases is just going to increase confusion.

- Jonathan M Davis

It's basically just __VA_ARGS__ on steroids, thus 'Arguments' is good, there's precedence in C(Args).

LOL. Then what about when you use it for _parameters_ rather than arguments? Or when you use it areas that have _nothing_ to do with functions - e.g.

foreach(S; TypeTuple!(string, char[], wstring, dstring))
{
    //...
}

Naming it Arguments gives the impression that it's specifically related to arguments, and that's just one small area that it gets used in. And that's part of what's so hard about naming it. It just does way too many things to name easily.

- Jonathan M Davis

You just made the argument for calling it Arguments by arguing against its name being Arguments.

arguments and parameters are both basically the same thing and so is the example where you use it as the arguments to a foreach loop.

Most of the suggestions are too low level, fact is its a Tuple :D


Reply via email to