DIP81: Writing files at compile time

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 12 11:57:04 PDT 2015


I've been looking at a company's build system recently and it 
makes me think this is a bad idea: we have enough problems 
tracking import dependencies and changes as it is without other 
files being written in the middle of the process too.

I'd prefer it if these were always done as separate steps so it 
can be more easily integrated into other build scripts. (Build 
systems and scripts suck btw, but they suck less than the 
confusion caused when files can be read and written arbitrarily 
by the compiler, which already has hidden dependencies).


More information about the Digitalmars-d mailing list