DIP 1027---String Interpolation---Community Review Round 1
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Wed Dec 11 23:45:22 UTC 2019
On Wednesday, 11 December 2019 at 23:17:37 UTC, Bastiaan Veelo
wrote:
> On Wednesday, 11 December 2019 at 20:57:35 UTC, Ola Fosheim
> Grøstad wrote:
>> immutable s = f!!"My name is {this.name}";
>
> I like this. A universal improvement that also happens to
> enable all kinds of string interpolation, including SQL.
Another option is to add unicode support:
fmt«I am {name}!»
==>
mixin(fmt!"I am {name}!")
(on my mac I get those symbols by hitting alt-shift-v and
alt-shift-b)
More information about the Digitalmars-d
mailing list