Re: Q: Dependent Initialization
Greg Steuck <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.apps.devel,gmane.comp.jakarta.avalon.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Berin" == Berin Loritsch <[email protected]> writes: Berin> Good question. I have never written anything with a circular Berin> dependency. In general that's a *really* bad practice. Berin> Unfortunately you can't keep people from shooting themselves Berin> in the foot. This particular kind of self destructive behavior can be easily prevented if dependencies are explicit. In fact, Phoenix checks the deps graph for loops. A similar thing could be done in Fortress, but it will have to be an in-progress check as opposed to pre-requisite check.