DIP 1027---String Interpolation---Community Review Round 1
aliak
something at something.com
Thu Dec 12 10:10:10 UTC 2019
On Thursday, 12 December 2019 at 07:30:19 UTC, mipri wrote:
> How about that? Undefined escape sequences are an error, so
> new ones can be added without breaking the language or changing
> the meaning of old code. And this no longer requires an ugly
> 'i' prefix.
>
That is a really good point! But, what about token strings?
mixin(q{
auto ${functionName}() {
return ${varName};
}
});
More information about the Digitalmars-d
mailing list