Am 22.09.2014 14:19 schrieb "Michael Schnell" <mschn...@lumino.de>:
>
> On 09/22/2014 07:52 AM, Sven Barth wrote:
>>
>>
>> I openly *hate* the attribute syntax. It's just not Pascal and simply
copied from their .Net compiler, because hey, other .Net compilers do that
just like that... -.-
>>
> Maybe instead of attribute appropriate base classes could be provided.
>
> E.g. a (maybe fake) class "TRefCountedObject" that can be used instead of
TObject to inherit from.
>
> TRefCountedObject could provide the necessary properties and trigger some
compiler magic that uses them (similar to when using a class derived from
TInterfacedObject) and doing interface related syntax).

I already suggested the addition of a TARCObject as a general reference
counted base class in my RFC ;)

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to