DIP 1027--String Interpolation--Final Review Discussion Thread

Adam D. Ruppe destructionator at gmail.com
Fri Feb 7 13:56:54 UTC 2020


On Friday, 7 February 2020 at 13:53:27 UTC, matheus wrote:
> createWindow(i"Process debugger $pid")
>
> Will generate a string "with" comma, like:
>
> createWindow("Process debugger", $pid)

Almost, Walter's proposal hardcodes %s in the compiler so it 
would actually generate:

createWindow("Process debugger %s", $pid)

> So changing the size of the window according the value in $pid.

but yes, indeed.


More information about the Digitalmars-d mailing list