Things that may be removed

bearophile bearophileHUGS at lycos.com
Wed Dec 17 20:02:35 PST 2008


Ary Borenszweig:
> Why, of course, the C syntax for types:
> int (*x[5])[3];
> int (*x)(char);
> int (*[] x)(char);
> *Ugh*...

Try porting code that uses heavily n-dimensional tensors from C to D, and you understand why supporting the C syntax for arrays (with inverted coordinates in the definition) is a godsend :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list