[fpc-devel] Circular references and forward declarations

Marco van de Voort marcov at stack.nl
Wed Jan 6 11:57:55 CET 2010

In our previous episode, Florian Klaempfl said:
> >> cannot test a unit with external circular class references without the
> >> other involved units. So why should the stuff be separated?
> > 
> > I don't like extremely large (> few thousand lines) units from an overview
> > perspective.
> One can also say a lot of small files make it hard to find stuff

Yes. But I didn't say that limiting the maximum size means going to the
other extreme

> (remember the people to complain about the huge amount of files of the
> fpc rtl :)?).

The point is that they are right from a birds-eye general application
development view. But wrong from the perspective of the exact requirements
on the RTL. IOW the RTL is not a normal piece of code.

> With a good ide you don't care about this anymore: it works the same with
> a lot of small files or one huge file.

Then I never saw a good IDE.

More information about the fpc-devel mailing list