Interpolated strings

Seb via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 25 12:11:20 PDT 2017


On Thursday, 24 August 2017 at 11:57:59 UTC, Petar Kirov 
[ZombineDev] wrote:
> On Thursday, 24 August 2017 at 11:07:16 UTC, Suliman wrote:
>> All modern languages like Dart and C# have string 
>> interpolation. Sharp example:
>>
>> Console.WriteLine($"Hello {args[0]}!");
>>
>> Who can summary is there any objective reasons why it's not 
>> realized in D?
>
> No one has submitted a DIP for that feature and no one has 
> tried to implement it. You could be the first one :P

FYI there has been an attempt:
https://github.com/dlang/dmd/pull/6703

But I think this is more an issue of how the language should 
allow it then on the implementation itself.


More information about the Digitalmars-d mailing list