String interpolation, after a healthy debate on discord

WebFreak001 at
Fri Dec 10 18:39:32 UTC 2021

On Friday, 10 December 2021 at 13:51:16 UTC, Ogi wrote:
> On Thursday, 9 December 2021 at 21:06:11 UTC, WebFreak001 wrote:
>> For any new user the `text(i"Hello $name!")` or `i"Hello 
>> $name!".text` syntax could be daunting for regular use, 
>> possibly even hindering the adaption of interpolated strings 
>> for regular string usage.
> Not only that, you’ll have to import `std.cov` or `std.format` 
> whenever you want to get a string out of an istring. Kinda 
> defeats the purpose of string interpolation as a language 
> feature.

if that's your pain point, check out this proposal here: :)

More information about the Digitalmars-d mailing list