The state of string interpolation

o o at o.o
Fri Dec 7 22:24:24 UTC 2018

On Friday, 7 December 2018 at 22:12:18 UTC, Steven Schveighoffer 
> I think we are all finally on the same page (which I didn't 
> realize we weren't, sorry about that!)
> The selling of the idea is the hard part, Jonathan Marler has 
> already implemented it, and the spec is super-simple as you say.
> I think part of the confusion here is that we are calling it 
> string interpolation. It's not the same as what most languages 
> use for string interpolation. It's really something more like 
> "string formatted alias sequence" or "string interpolation 
> tuple". That should be reflected in the actual DIP.
> What's central to the utility is that it's based on string 
> literals (runtime strings will NOT work here), and therefore, 
> has the potential to be used in mixins, and in compile-time 
> alias sequences. Sequences of expressions split by strings are 
> so common in D, it just makes complete sense to me.
> -Steve

I sent you a github invite to the contributors group for the DIP. 
If you are okay with it, could you clarify what you said in the 
DIP? Thanks!

More information about the Digitalmars-d mailing list