injecting imports when compiling

Ola Fosheim Grøstad ola.fosheim.grostad at
Tue Dec 7 14:25:22 UTC 2021

On Tuesday, 7 December 2021 at 09:54:40 UTC, WebFreak001 wrote:
> Do you like this idea? Have any suggestions? Concerns?

I've suggested something similar in the past for the application 
code, IIRC. This would make sense if you add features such as 
custom literals or if you application is heavy into a specific 
domain (like statistics or linear algebra).

It doesn't really make sense for libraries. It would also make 
libraries harder to read and debug.

Good idea of for applications.
Bad idea for libraries.

More information about the Digitalmars-d mailing list