DIP 1027---String Interpolation---Community Review Round 1
Patrick Schluter
Patrick.Schluter at bbox.fr
Wed Dec 11 15:55:35 UTC 2019
On Wednesday, 11 December 2019 at 12:50:34 UTC, Ernesto
Castellotti wrote:
> On Wednesday, 11 December 2019 at 09:52:21 UTC, Mike Parker
> wrote:
>> [...]
>
> From the dip it seems that it is only valid for writefln & co
> So a code like:
> auto myText = i"I ate% apples"
> would not be valid.
It is allowed everywhere where a tuple expression is allowed
auto myText = "I ate%s", apples
doesn't make sense
>
> Correct me if I'm wrong but from my point of view this "String
> interpolation" is completely useless.
> I wish D had a string interpolation like Kotlin
More information about the Digitalmars-d
mailing list