C-Style declarations, are they here to stay?!! Walter?

BCS BCS_member at pathlink.com
Sat Apr 1 17:04:14 PST 2006


In article <e0km70$18a0$1 at digitaldaemon.com>, Walter Bright says...
>
>BCS wrote:
>> If people don't want it, then it just adds unnecessarily to the task of 
>> making a compiler.
>
>It doesn't add more than a few lines. See the code in DMD's parser.c 
>that does it.

Yes it does add a lot to the complexity of writing a compiler. This is because,
even if parsing them only adds one line of code, someone who wants to write a D
compiler needs to understand C-style declarations before they can figure out how
to parse them.


In article <e0n30e$156o$1 at digitaldaemon.com>, Sebastián E. Peyrott says...
>
>I believe there's no compelling reason to have them removed right now.
>Deprecating them and putting a clear notice in the docs is the right way to go,
>IMO, if Walter's certain that they'll need to be removed at some point in the
>future. For now, if people don't like them, they can just avoid them...
>
>--
>Sebastián.

see above





More information about the Digitalmars-d mailing list