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

MrSmith mrsmith33 at yandex.ru
Wed Dec 11 11:00:12 UTC 2019


On Wednesday, 11 December 2019 at 10:48:56 UTC, Rumbu wrote:
> 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?

According to proposal you would wrap format specifiers into {}, 
like i"%{d}bananas"


More information about the Digitalmars-d mailing list