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

David Nadlinger see at klickverbot.at
Tue Dec 18 12:42:41 PST 2012


On Tuesday, 18 December 2012 at 20:27:31 UTC, deadalnix wrote:
> 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++.

I think it's quite the contrary, due to mixin() and the extended 
code generation capabilities of D. In comparison, the C 
preprocessor is pretty limited, at least as far as the typical 
use cases are concerned.

David


More information about the Digitalmars-d mailing list