[lazarus] compile error on New Sources from cvs - FIXED
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Nov 27 12:59:24 EST 2003
On Thu, 27 Nov 2003 12:01:17 +0100 Micha Nelissen
<M.Nelissen at student.tue.nl> wrote:
> Mattias Gaertner wrote:
>
> > I broke several unnecessary unit circles. Can someone of the win32
> > people check, if the win32 intf compiles? My cross-compile is currently
> > broken.
>
> Could you elaborate please? Did I introduce cycles causing errors in
> compilation? I believe I made it such that the interface compiled when I
> committed my stuff.
Don't worry. It compiled.
By using the the uses section in the implementation section you created some
circles. This is allowed, but it makes the code harder to structure and less
readable. They are allowed, but IMO you should try to avoid them.
If units are ordered hierachical, an user can start exploring the high lvl
units and then go down, as he needs. But with unit circles, he needs to read
the whole circle to understand what is going on.
Mattias
More information about the Lazarus
mailing list