Worst ideas/features in programming languages?

Walter Bright newshound2 at digitalmars.com
Mon Jan 3 09:27:08 UTC 2022


On 1/2/2022 11:42 PM, Timon Gehr wrote:
> And there is also this:
> 
> void foo(T...)(T args){}
> 
> int[2] x;
> 
> foo(x); // foo!(int[2]) and foo!(int,int) would now need to be the same

With such implicit conversions, the language would just descend into chaos. So 
no :-)


More information about the Digitalmars-d mailing list