Our template emission strategy is broken
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Nov 12 14:50:12 PST 2015
On 11/11/2015 9:19 AM, David Nadlinger wrote:
> Of course, many of the problems could have probably been avoided if there was an
> iron-clad rule that the module dependency graph must remain acyclic from the
> beginning of development (at least at the level of units of compilation).
In hindsight, I would have made D enforce that (Go does).
> But how could they have known how bad it would get otherwise?
I hadn't anticipated that code would inevitably be constructed so that every
module imports every other module.
More information about the Digitalmars-d