Re: Module compile order



Thomas Robitaille wrote:

In a large project I have, two modules mutually depend on each other.
What is the best way to compile these?

Usually you need a third module. Take all the things in A that
B actually references and put them in a module A_prime. Then
both A and B can use A_prime and A can still use B. Or, do
it the other way around: all the things from B that A uses, put them
in B_prime, so both A and B can use B_prime, and B can still
use A.

Trying to be tricky with the USE topology (or soon with submodules)
will probably make your program less legible.

--
J. Giles

"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare


.