[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] cross module dependencies



Daniel Russel wrote:
> Thanks. I this case there would have been a circular dependency (misc 
> imports core and core imports misc). Does that add difficulties?

Definitely - that won't work. Can't you arrange for misc not to import
core? misc is intended to be standalone, while core is of general
utility to everyone, so it's fine for things to import core but
importing misc should be discouraged. Sounds like your class should go
in core in this case.

	Ben
-- 
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle