Is the module system in D fundamentally flawed?
Sean Kelly
sean at invisibleduck.org
Mon Aug 18 12:15:23 PDT 2008
Jarrett Billingsley wrote:
> "torhu" <no at spam.invalid> wrote in message
> news:g8a6iu$kg$1 at digitalmars.com...
>> z wrote:
>>> Anyone can give a summary, or guilelines on how to live with D's module
>>> system
>>> to avoid some common mistakes.
>> There are several bug reports relating to this problem, so it's a well
>> known issue. I suppose Walter doesn't see it as a high priority right
>> now, since you can always work around it.
>
> I'm sorry, but after dealing with this for 4 years, I've come to disregard
> "putting everything into one module" as a valid workaround. Forward
> references should not exist, I don't care how hard they are to get rid of.
Forward references are illegal in D :-) This was the first thing I
tried as a workaround for this compiler issue. It can make designing
interdependent code a bit dicey at times.
Sean
More information about the Digitalmars-d
mailing list