I dun a DIP, possibly the best DIP ever

Steven Schveighoffer schveiguy at gmail.com
Fri May 8 17:19:18 UTC 2020


On 5/8/20 1:13 PM, Q. Schroll wrote:

> or (by the current language rules)
> 
>      void f(int __param_0, long __param_1, double[] __param_2...);
> 
> I'm pointing it out, because it is theoretically a breaking change with 
> silent change of behavior. I doubt that any code base uses that pattern 
> purposefully since it is extremely awkward and shouldn't make it through 
> any code review.

Ugh. I doubt it would be a breaking change, as Ts... would suffice (if 
you really wanted to "abuse" that feature). As in, it won't break any 
existing code, because nobody would do that.

I'd say it's fine for the DIP to take over that syntax.

-Steve


More information about the Digitalmars-d mailing list