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

Michael Van Canneyt michael at freepascal.org
Wed Apr 13 13:46:55 CEST 2016



On Wed, 13 Apr 2016, Maciej Izak wrote:

> 2016-04-13 13:03 GMT+02:00 Michael Van Canneyt <michael at freepascal.org>:
>
>> Sorry. This is simply very bad design.
>>
>
> I agree with many points. Frankly, I was surprised that they did something
> like using attributes in that way. I try to understand and find something
> positive.

Sometimes, there is nothing positive to be found, even with the biggest
microscope.... :-)

IMHO they are randomly copying recipes from C# and Java.
Which is IMHO nonsense, since those languages are based on virtual machines, 
where runtime and compile-time are blurred concepts...

A losing strategy on all accounts, you should always start from your own strength
and build on that.

>
> I only like to see [ref] const as alternate syntax for constref, only for
> Delphi mode. It is really problematic.

I suppose that in Delphi mode, we'll need to support it anyway :/

Michael.



More information about the fpc-devel mailing list