Please stop polluting D 2.0 with C/C++ programmer assumptions.
Walter Bright
newshound1 at digitalmars.com
Sun Dec 2 22:59:45 PST 2007
Aziz K. wrote:
> Walter Bright wrote:
>> 1) The C style array declarations have been in D since day 1 :-), they
>> aren't a problem to support in the compiler, and are essentially under
>> the radar. And I know from experience that they really do help in
>> translating C code to D.
> C style array decls are easy to parse. C style function pointers were a
> bit harder to parse though. I think the main problem with C style
> function pointers is that they make the D grammar ambiguous.
The rule to resolve "is it a type or an expression" is that if it parses
as a type, it is a type.
More information about the Digitalmars-d
mailing list