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

Gary Willoughby dev at nomad.so
Wed Nov 6 04:00:37 PST 2013


On Wednesday, 6 November 2013 at 03:44:07 UTC, Chris Cain wrote:
> I'd very nearly say that this could be a library function. 
> Imagine it like this:
>
> syntax!"python"(r{
> ...
> })

I agree.

On Wednesday, 6 November 2013 at 11:45:41 UTC, Dicebot wrote:
> 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.

I also agree.


More information about the Digitalmars-d mailing list