C-Style declarations, are they here to stay?!! Walter?
BCS
BCS_member at pathlink.com
Fri Mar 31 15:55:02 PST 2006
Walter Bright wrote:
> Sean Kelly wrote:
>
>> Hasan Aljudy wrote:
>>
>>>
>>> So Walter, I would like to please hear your opinion/decision about
>>> C-Style declarations; are they here to stay? or will they be
>>> deprecated at some point?
>>
>>
>> I'm hoping they will be deprecated before 1.0. While this may mean a
>> small amount of extra work porting headers, I think it's worthwhile.
>
>
> I left them in because they do not cause any ambiguities or trouble with
> the D declaration syntax. It also significantly reduces the amount of
> work needed to translate code to D. I don't see a compelling reason to
> remove them; just don't use them if you don't like them.
http://www.digitalmars.com/d/faq.html#q3
from http://www.digitalmars.com/d/overview.html
"Major Goals of D
[...]
* Make D substantially easier to implement a compiler for than C++."
If people don't want it, then it just adds unnecessarily to the task of making a
compiler.
More information about the Digitalmars-d
mailing list