Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2

Steven Schveighoffer schveiguy at gmail.com
Thu Jan 28 14:42:28 UTC 2021


On 1/28/21 1:12 AM, Walter Bright wrote:
> It appears to have abandoned being usable with printf?

Yes and no.

Yes, we do not think that using printf with interpolated strings 
*without modification* is an important goal. printf works fine as it is. 
This is D, not C. writeln IS usable without modifications.

And no, it is not abandoned, because it's perfectly possible because of 
the awesome power of metaprogramming allowed in this DIP:

https://run.dlang.io/is/X5HcXS

-Steve


More information about the Digitalmars-d mailing list