On 3/16/06, Alexandre Leclerc <[EMAIL PROTECTED]> wrote:
> > Is there any way to simplify that and still be multi-platform very
> > easely? Indeed, that is very much hard to track down the units. (In
> > comparison, Delphi is cleaner, but it is not as multi-platform /
> > multi-GUI as laz is.)

> This kind of reorganization cannot be done without a detailed view of
> how LCL code works.

> Maybe we need a general map of how things are connected to each other
> on LCL, but this can take some time to build and very few people know
> LCL well enougth to create it.

I started making a diagram of what procedure inherited from what object and what
subroutine called what other subroutine. It's hard to keep it all in your head,
so might as well make a little map or diagram of the code.
It works, but hundreds of little maps need to be created for several functions.

Delphi source code is probably similar, but a few less layers since they are not
supporting multiple OS any more. The Delphi open tools API was always a
nightmare to work with, having to always tap into bizarre classes just to do
simple things, so we know they aren't perfect at implementing the simplest
possible solution.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to