DIP 1027---String Interpolation---Community Review Round 1

Rumbu rumbu at rumbu.ro
Wed Dec 11 10:48:56 UTC 2019


On Wednesday, 11 December 2019 at 09:52:21 UTC, Mike Parker wrote:
> This is the feedback thread for the first round of Community 
> Review for DIP 1027, "String Interpolation":
>
> https://github.com/dlang/DIPs/blob/148001a963f5d6e090bb6beef5caf9854372d0bc/DIPs/DIP1027.md
>

So we cannot have variables named d, s, f, g, x and so on because 
they are standard format specifiers. What happens with custom 
format specifiers, any one letter variable cannot be interpolated?


Why reinvent the wheel and not adopt the common wisdom of {var} 
as in python, c# an even c++ 20?






More information about the Digitalmars-d mailing list