Pete Becker wrote:
Kaz Kylheku wrote: ro**********@gmail.com wrote:
dependency though and best avoided if possible...sometimes it isn't.
http://c2.com/cgi/wiki?AcyclicDependenciesPrinciple
So what? That page is just someone's ill-informed, inexperienced
opinion.
Just because someone dropped something into a Wiki doesn't mean it has
become gospel.
But this one is a "Principle"! It SAYS so! And it's based on what
someone else wrote, and even includes a link! So it must be true!
Joke around all you want guys but these things are well worth knowing
or at least familiarizing yourself with. As anyone who has actually
read these articles and principles knows, it is stated in several
places that some of these principles are actually contradictory.
Everything needs balance.
Cyclic dependencies can become a major hassle. The principle I cited
above applies to packages mainly but the reasoning in it can be applied
to classes also to a lesser degree.