[fpc-devel] Class field reordering

Michael Van Canneyt michael at freepascal.org
Sun Jul 15 19:05:59 CEST 2012



On Sat, 14 Jul 2012, Martin Schreiber wrote:

> On Saturday 14 July 2012 14:26:32 Michael Van Canneyt wrote:
>>> If would you want to use that optimization, then yes. "Working around"
>>> the type system of the language is however generally asking for trouble,
>>> regardless of what reason you do it for.
>>
>> Indeed. Maybe we can help by making some methods/properties protected ?
>>
> You are talking seriously? If so I'll provide a list of private FCL fields I
> need to access in MSEide+MSEgui.

A class model is not good if you continuously need to hack your way around it.
That is not to say that I will agree with all you ask, of course.

But please give reasons why you think you need to access these fields.
Maybe we can, in some cases, find alternatives to solve your problem(s).

Michael.



More information about the fpc-devel mailing list