Feedback Thread: DIP 1036--Formatted String Tuple Literals--Community Review Round 1

Piotr Mitana the.mail.of.mi2 at
Wed Sep 9 09:25:26 UTC 2020

Do I understand correctly, that

int i = 5;
string someStr = i"Give me ${i} apples";

will not work? In this case it's usage is very limited and this I 
don't think it should be a new syntax. If it could be replaced 
with either a template or a trait, it could be the way to go. But 
otherwise it will be very unintuitive.

More information about the Digitalmars-d mailing list