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

Steven Schveighoffer schveiguy at gmail.com
Sat Dec 14 14:38:08 UTC 2019


On 12/14/19 3:51 AM, Walter Bright wrote:

> It's a great point. I propose a modification:
> 
> Change the `{FormatString}` from being a suffix to `%` to being the 
> whole format string, i.e. instead of `%{d}` make it `%{%d}`.
>

...

> 
> I've decided to change it to $. That looks nice. The \ ones just look 
> awful, and  {} leaves open the problem of where to put the 
> user-specified format.

Thanks! That's much better

-Steve


More information about the Digitalmars-d mailing list