[fpc-devel] Newbie question: how does the compiler know the class type of an object ( the Is operator)u

Tomas Hajny XHajT03 at hajny.biz
Mon Aug 25 16:36:37 CEST 2014


On Mon, August 25, 2014 16:19, Marco van de Voort wrote:
> In our previous episode, Michael Schnell said:


Hi,

>> > As I said, that is a limited use :_)
>> >
>> >
>> IMHO, a "static" or similar keyword for a class type definition would
>> nicely allow for doing away with "Object" and "Record" altogether..
>
> IMHO it would bring the "sometimes maps 1:1 to record, sometimes not"
> misery
> of object back again, while I would rather have it gone.

Am I right to assume that this thread was not meant to discuss a proposal
for getting rid of the TP/BP-style of objects from FPC and thus there is
no need of summarizing all pros and cons of keeping or removing them
(including their use cases and their potential alternatives)?

Thanks

Tomas





More information about the fpc-devel mailing list