proposal: a new string litteral to embed variables in a string

Manu turkeyman at gmail.com
Wed Nov 6 09:40:20 PST 2013


On 7 November 2013 03:14, 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.


Every time I use a q{} block, it's to embed some code in a different
language. I would like the IDE to syntax hilight properly if able.
HLSL/GLSL, JSON, XML are the most common embedded languages I encounter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131107/4fbb02b8/attachment.html>


More information about the Digitalmars-d mailing list