On 2 October 2010 04:46, David Simcha <[email protected]> wrote:
>  Why the heck does D even support the C style syntax here?  IMHO it should
> just be removed because it's completely unreadable and not that important
> for porting C code.

I agree. Even worse is C function type syntax.

alias int(x)(int);

x * y;

actually compiles, and declares y as a function pointer. And x is a
function type, the most bizarre beast in the C family.

int (z);  actually parses as a declaration of a function type. Really
nasty for is() expressions.
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to