> I agree with Michael here. "Put everything in one big file" is a pure evil, > equivalent to "I do not want to think about proper design, let's just > pile all the code in one big heap"
I don't know what is wrong with you guys. SW design can be good even if it has interdependent classes. It depends on the original problem scope. This is from Michael's other mail: > 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. Right, so the original comment "In more than 20 years of pascal programming, I never encountered this problem." actually means to copy everything into one file. That's what I was saying, too! :-) If I understand right, Michael and Mattias have made big parts of Lazarus core which I referred to. They have used types casting to avoid circular references. Now they say they never encountered this problem. It is like: "We never encountered a problem. We just typecast everything! Hey no problem!" Funny :-) Juha
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
