proposal: a new string litteral to embed variables in a string
Timothee Cour
thelastmammoth at gmail.com
Wed Nov 6 13:02:04 PST 2013
To those who don't see the use of this:
which code would you rather read & write? see pastebin:
http://dpaste.dzfl.pl/b9f65a39
Another advantage is that using an autoformatter won't mess up things
inside a r{..} literal.
On Wed, Nov 6, 2013 at 9:14 AM, Dmitry Olshansky <dmitry.olsh at gmail.com>wrote:
> 06-Nov-2013 15:45, Dicebot пишет:
>
> Reasonable proposal but I have not encountered much need in this
>> functionality personally (std.string.format worked just fine) and thus
>> can't really evaluate how justified such addition may be.
>>
>
> +1
>
> Since formatting/templates became accessible in CTFE I do not see much
> need for this.
>
> --
> Dmitry Olshansky
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131106/5484aef9/attachment.html>
More information about the Digitalmars-d
mailing list