Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2
jmh530
john.michael.hall at gmail.com
Tue Feb 2 14:31:53 UTC 2021
On Tuesday, 2 February 2021 at 13:28:52 UTC, Adam D. Ruppe wrote:
> On Tuesday, 2 February 2021 at 08:16:11 UTC, Max Haughton wrote:
>> Cheap solution: p"Blah blah {blah}" for printf style, i"xyz"
>> for everything else?
>
> Or just a (zero runtime cost!) library function which is
> possible with the dip as-is. D excels at these things and
> there's no need to special case the compiler for it.
>
> [snip]
I feel like you or Steven provided an example of this before, but
I can't recall where. Is it worth it to provide a simple example
of it in the DIP?
More information about the Digitalmars-d
mailing list