DIP 1027---String Interpolation---Community Review Round 1

Steven Schveighoffer schveiguy at gmail.com
Wed Dec 11 22:55:22 UTC 2019

On 12/11/19 5:49 PM, Steven Schveighoffer wrote:

> OK, this is definitely a winner, way better than my idea. Only thing 
> better would be some way to set the default specifier to avoid all the 
> verbosity.

Hm...  heredoc gives us a precedent that might be valuable here.


db.exec(i"{?}INSERT INTO mytable VALUES ($name, $serial, $cost)")

printf(i"{%d}I ate $apples and $bananas totaling $(apples + bananas) 


More information about the Digitalmars-d mailing list