[fpc-pascal] Please someone explain this to me

Michael Van Canneyt michael at freepascal.org
Thu Feb 11 04:40:38 CET 2016



On Wed, 10 Feb 2016, Graeme Geldenhuys wrote:

> On 2016-02-10 19:20, Michael Van Canneyt wrote:
>> You just need to look at the system or sysutils units from recent delphis to
>> see why include files are the better option,
>
>
> As someone that doesn't have access to recent Delphi versions, would you
> mind sharing a small example if you can. I'm not at all surprised by
> your comment though. From the messages I have seen about Delphi these
> days, not many customers are happy with Delphi's "progress". It sounds
> like every release is more like a patch-job to get the next set of
> bullet points filled for the next release. No regard for the language or
> quality control.

I cannot share code, obviously, but I'll say that the code is a big mess of
IFDEFS, used in what seems to me an inconsistent manner (if there is any logic, I fail
to see it). Lazarus has understanding of IFDefs, but the Delphi IDE does
not (just as it does not understand include files), killing the code 
navigation, making it hard to navigate or understand these unit.

I normally do not visit these units, so it doesn't harm me, but when I by
accident ended up there I remarked it... 
I think the problem is more on the poor guys that must maintain it :)

Michael.



More information about the fpc-pascal mailing list