> It is all a matter of design. Not only. Sometimes many classes are tightly dependent on each other. It doesn't mean the design is bad, they just are logically close and interdependent. Some other problem scope allows one-way dependency between classes. It doesn't make the design better.
> In more than 20 years of pascal programming, I never encountered this > problem. Lazarus core itself has such code. Earlier I tried to understand Designer, ControlSelection and Object Inspector code. They are highly interdependent, for logical reasons. References to core classes were typecasted in many places in code, clearly to avoid circular reference. Some files are also very big which is one way to avoid circular reference. Juha -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
