Should compilers take advantage (abuse) of the new UDA syntax that has been accepted?

deadalnix deadalnix at gmail.com
Tue Dec 18 12:27:31 PST 2012


On Tuesday, 18 December 2012 at 19:23:18 UTC, Peter Alexander 
wrote:

>> I think this should be advertised that such a feature is in 
>> some GDC's specific module, and that it can clash with any 
>> library symbol at any time, as it is not a standardized 
>> feature of the language.
>
> Doesn't matter whether you advertise it as experimental or not. 
> As we've just seen with Remedy Games and UDAs, as soon as 
> someone starts using it in production, whether it's 
> experimental or not, you have to support it. That's life.

Many other programming languages aren't as conservative as C++. I 
thing the key point here is to have a tool to handle the 
refactoring automatically. It seems way easier to provide such a 
tool in D than in C++.


More information about the Digitalmars-d mailing list