D string interpolation

Mike Parker aldacron at gmail.com
Sun Oct 4 14:04:04 UTC 2020


On Sunday, 4 October 2020 at 13:16:53 UTC, Imperatorn wrote:
> Are there any easy ways to achieve string interpolation in D a 
> la $"Hello {adjective} world"?
>
> Thanks

Currently, no. There's a DIP from Adam and Steve currently going 
through the review process. It recently completed the first round 
of community review. They intend to make significant revisions, 
so it will require at least one more round of community review 
before moving forward.

DIP 1036:
https://github.com/dlang/DIPs/blob/master/DIPs/DIP1036.md

The review summary and links to the discussion & feedback threads:
https://github.com/dlang/DIPs/blob/master/DIPs/DIP1036.md#reviews

DIP 1036 was an iteration on an earlier DIP by Walter that he and 
Atila ultimately rejected:
https://github.com/dlang/DIPs/blob/master/DIPs/rejected/DIP1027.md


More information about the Digitalmars-d mailing list