C compatibility
BCS
ao at pathlink.com
Tue Jul 14 12:01:07 PDT 2009
Reply to Jacob,
> I've read posts in several threads complaining about the C
> compatibility, the latest was the % operator. Other complains are that
> you can use the C syntax for pointers, arrays and function pointers.
> Also the "Case range statement" thread that complained (among other
> things) about fall through in switch statements.
>
> Why not the drop this C compatibility in general case
One thing Walter is adement about is that copy-n-paste C code must run correctly
(i.e the same) in D or not compile. As for the C style type syntax, I'd be
willing to see that go en-total.
> but still allow
> the C compatibility in extern (C) blocks?
>
Yuck, that would make the parser much more... interesting. ;)
More information about the Digitalmars-d
mailing list