new DIP5: Properties 2

Ary Borenszweig ary at esperanto.org.ar
Tue Jul 28 12:45:14 PDT 2009


Arthur Lloyd wrote:
> Ary Borenszweig Wrote:
> 
>> Definitely. I think attributes/annotations is the best solution for 
>> this. It's also the most extensible way to do it. The lexer and parser 
>> doesn't need to change for each new attribute. Maybe just the semantic pass.
> 
> That's ingenious. No need to change the lexer and parser when adding new "semi-keywords" and functionality. Since Java existed before C#, apparently this is something that Sun invented?

I think C# added them first, then Java added them too. But Java and C# 
copied a lot of things from each other in different orders. :)



More information about the Digitalmars-d mailing list