[fpc-devel] OO rewrite - globals
Florian Klaempfl
florian at freepascal.org
Tue Jul 27 09:30:14 CEST 2010
Am 26.07.2010 12:37, schrieb Hans-Peter Diettrich:
> Jonas Maebe schrieb:
>
>>> I simply don't like the idea of having one big parser class blob spread
>>> over multiple include files.
>>
>> Especially since in the past several people spent a lot of time on
>> breaking cyclic dependencies and organising everything nicely into
>> separate units (both for the parser and for the symbol table).
>
> While that separation removed cyclic dependencies, it spread very
> different functionality across units. In at least one case a procedure
> exists in two units, so that more work is required to encapsulate
> functionality in more classes.
This might be happen when copy/pasting. Usually such procedures can be
easily moved to a common base unit.
More information about the fpc-devel
mailing list