[fpc-devel] FPC implementation of attributes for language parts.

Sven Barth pascaldragon at googlemail.com
Wed Apr 13 14:36:26 CEST 2016


Am 13.04.2016 13:25 schrieb "Maciej Izak" <hnb.code at gmail.com>:
>
> I understand all this, and for the most part I agree, but...
>
> 2016-04-13 11:19 GMT+02:00 Sven Barth <pascaldragon at googlemail.com>:
>>
>> Then just use an ifdef then.
>>
>> That "[ref] const ..." Is even more an abomination than the attribute
syntax itself already is.
>
> That requires too many IFDEFs. :\, even [ref] syntax is more readable
than tons of IFDEFs. Just look at Generics.* code... I'd like to see only
one exception for [ref] as alternate syntax for constref to get more clear
code and easier to maintenance.

*I* won't add it.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160413/8a90d530/attachment.html>


More information about the fpc-devel mailing list