scope keyword - a maintenance nightmare?

Sean Kelly sean at f4.ca
Fri Aug 17 14:25:42 PDT 2007


Bill Baxter wrote:
> 
> Like others have said, D has .di files that let you separate interface 
> from implementation.  And the nice thing is the compiler can even 
> generate them for you.  Unfortunately what it generates is pretty ugly. 
>  It doesn't seem to expect that humans will be reading them for some 
> reason.  But there's no reason why it couldn't do a better job.

For what it's worth, I have the Tango snapshot process run uncrustify on 
these files before packaging them.  The result still isn't as good as a 
hand-crafted version, but it's readable.


Sean



More information about the Digitalmars-d mailing list