Mixing C/D-style array declarations
Trass3r
un at known.com
Sun Apr 3 12:11:59 PDT 2011
>> Rationale: The postfix form matches the way arrays are declared
>> in C and C++, and supporting this form provides an easy migration
>> path for programmers used to it.<
>
> C style array declarations are handy (despite they add a little of extra
> complexity and confusion to the D language).
Are you kidding?
It pollutes the grammar and breaks consistency.
The rationale is nonsense, it rather encourages people not to learn the D
way to declare arrays.
Drop the C legacy!
More information about the Digitalmars-d
mailing list