On 12 Dec 2002 at 5:41, Frank Heckenbach wrote:
Markus Gerwinski wrote:
I think, a verbatim Delphi compatibility of GPC is _not_ a good idea, especially regarding its tendency to C resemblance, which was the trigger of this thread. In my experience, the Delphi tendence of imitating C leads to nothing but making Delphi a _less_ powerful language. (E.g. the Delphi _styleguide_ -- not even the compiler itself -- tells you to put every class definition into a file of its own, thus yielding lots of cross-reference errors whenever two classes have to know each other. A "true Delphi developer" will rather implement dozens of f*cking workarounds than break with this C-style rule.)
Really? I'd rather forbid external declarations of things defined in other Pascal source files as well as circular unit references (no people, don't worry, I won't do it, I just say I'd rather ;-) than to encourage them.
I would have to say that I have never encountered the problem that is being described here, and I have never had to implement any "#@5$" workaround to avoid it. In my experience, class definitions are normally put in their own separate units only when they are visually designed decendants of "TForm" (as opposed to ones created and destroyed by code).
[...]
For Delphi, I currently don't see anyone with the necessary motivation to do the initial step.
I do. I just don't have the C programming skills to do it - and of course, the sources to the compiler itself are like Mandarin to me ;)
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/