[OT] C# can do all the interpolated strings now

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Fri Dec 10 08:34:07 UTC 2021


On Friday, 10 December 2021 at 08:26:38 UTC, Kagamin wrote:
> I looks like you propose string mixin with a different syntax. 
> If behavior is customizable, you can't guarantee the custom 
> handler will use a strong type system and provide all those 
> features you want.

Not sure what you mean by guarantee, it will enable stronger 
typing than the DIP for sure.

If you want to force strong typing (not sure why) then you 
require a grammar to be associated with the string tag. This 
would also enable automatic string validation, auto completion in 
IDEs etc.



More information about the Digitalmars-d mailing list