[fpc-devel] "Friend" classes?

Micha Nelissen micha at neli.hopto.org
Sun Mar 20 18:35:39 CET 2005


On Sat, 19 Mar 2005 10:04:55 +0100
DrDiettrich <drdiettrich at compuserve.de> wrote:

> In porting C++ code to Pascal I often stumbled into circular unit
> references. Then the only solution is a monster unit, that implements
> all the related classes at once, where the C++ implementation can be
> split into appropriate modules. 

The real question is: was the design of the code ok ? Circular references makes code harder to understand. Layers are easier to understand.

Micha




More information about the fpc-devel mailing list