No header files?

AJ aj at nospam.net
Wed Oct 21 18:27:53 PDT 2009


"Walter Bright" <newshound1 at digitalmars.com> wrote in message 
news:hbo51u$2snd$2 at digitalmars.com...
> Yigal Chripun wrote:
>> The C/C++ way of headers + lib has problems which D inherited as part of 
>> the same (broken) design.
>
> Hardly, as:
>
> 1. you don't need to use header files in D at all
>
> 2. you can automatically generate .di files, guaranteeing they are not out 
> of sync

The #2 synch issue seems to be the main (only?) reason why such a header 
generation facility is implemented in D? I find much more value in header 
files than any benefit (of which I know) of eliminating the synch issue (if 
it is even an issue at all). 





More information about the Digitalmars-d mailing list