I dun a DIP, possibly the best DIP ever

rikki cattermole rikki at cattermole.co.nz
Wed Apr 22 13:30:34 UTC 2020


On 23/04/2020 1:22 AM, Steven Schveighoffer wrote:
> On 4/22/20 8:19 AM, rikki cattermole wrote:
>> Change it to something like .unpackSequence instead of ... and I would 
>> be happy.
> 
> unpackSequence is a valid identifier. That would be a breaking change. 
> Plus it would be less obvious. If anything it would have to be 
> unpackSequence!(expr).
> 
> Plus there is precedence with C++ for using ...
> 
> And it makes intuitive sense -- you define tuples with T...
> 
> -Steve

Yeah.

But it also has precedence with type properties such as mangleof instead 
of the approach C took with sizeof and friends.

Right now we use it in parameters, adding it to the argument side with a 
completely different meaning ugh.


More information about the Digitalmars-d mailing list