The state of string interpolation
Atila Neves
atila.neves at gmail.com
Mon Dec 10 20:57:52 UTC 2018
On Monday, 10 December 2018 at 16:55:38 UTC, Paul Backus wrote:
> On Monday, 10 December 2018 at 10:55:05 UTC, Atila Neves wrote:
>> Strawman.
>>
>> My point isn't that syntax sugar isn't needed, is that in this
>> case the problem is easily solved with a library (and has
>> been), and doesn't apply to anything except for multiline code
>> generation, which is a niche.
>
> In languages that support it, string interpolation is used for
> many things other than multiline code generation.
I meant compared to std.conv.text. If it fits on one line then
`text` is more than fine.
More information about the Digitalmars-d
mailing list