Interpolated strings

Faux Amis via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 18 16:00:17 PDT 2017


On 2017-04-18 23:56, Jonathan Marler wrote:
> I've thought about it and decided, I like this idea.  I've only used 
> interpolated strings in PHP which left a bad taste, but I realized that 
> interpolating strings makes it impossible for your format string and 
> your arguments to get out of sync. This makes interpolated strings 
> harder to use incorrectly (Scott Meyers had a good talk on this, 
> https://www.youtube.com/watch?v=5tg1ONG18H8).

++

(ps. named arguments ;)



More information about the Digitalmars-d mailing list