[Lazarus] OOP basics - 2

Michael Van Canneyt michael at freepascal.org
Thu Apr 15 09:08:31 CEST 2010



On Wed, 14 Apr 2010, Juha Manninen wrote:

>> 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.

If that is really the case they should be in the same unit, and the
problem is moot.

It's not for nothing that TCollection and TCollectionItem are in the
same unit.

Michael.




More information about the Lazarus mailing list