DIP 1027---String Interpolation---Community Review Round 1
tove at fransson.se
Sat Dec 14 21:35:51 UTC 2019
On Saturday, 14 December 2019 at 21:22:41 UTC, Walter Bright
> On 12/14/2019 7:07 AM, Steven Schveighoffer wrote:
>> The point is not just to put the expressions where they
>> belong, but to be less verbose about it. The dance of quotes
>> and commas is hard to read and hard to write.
> "I ate ",
> " and ",
> " totalling ",
> apples + bananas,
> " fruit."
> isn't too bad. Formatting, though, won't change the issue with
> format strings and the disconnect between the arguments and
> their positions.
Is format strings worth building on?
With UFCS we could create types which control formatting
255, " in hex ", 255.hex
More information about the Digitalmars-d