<p>Am 22.09.2014 14:19 schrieb "Michael Schnell" <<a href="mailto:mschnell@lumino.de">mschnell@lumino.de</a>>:<br>
><br>
> On 09/22/2014 07:52 AM, Sven Barth wrote:<br>
>><br>
>><br>
>> 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... -.-<br>
>><br>
> Maybe instead of attribute appropriate base classes could be provided.<br>
><br>
> E.g. a (maybe fake) class "TRefCountedObject" that can be used instead of TObject to inherit from.<br>
><br>
> 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).</p>
<p>I already suggested the addition of a TARCObject as a general reference counted base class in my RFC ;)</p>
<p>Regards,<br>
Sven</p>