2016-04-12 14:48 GMT+02:00 Michael Van Canneyt <mich...@freepascal.org>:

> I really don't think you should delegate such things to attributes. You
> make 2 completely unrelated language constructs suddenly related. A bad
> design decision.


I think you are wrong. Attributes are not only dedicated to RTTI just look
at other languages: Delphi, C#, Java. Instead of extending language into
infinity you can use simple attribute with parameter. I don't see any
reason why don't use attributes to describe some compiler/RTL behavior? Any
attribute can be easier placed in many language structures without breaking
language syntax. That is much harder with new keywords.

Maybe that is not ideal but works excellent.
-- 
Best regards,
Maciej Izak
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to