Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2

claptrap clap at trap.com
Sat Jan 30 11:46:11 UTC 2021


On Friday, 29 January 2021 at 18:49:18 UTC, Paul Backus wrote:
> Continuing from the feedback thread...
>>
>> I want to say something about this idea of doing only one or 
>> the other.
>
> To be clear: you can still have both, just not with the same 
> syntax.
>
> If you want both, my recommendation would be to use the i"..." 
> syntax for the
> convenient string version, and qq"..." ("quasiquote") for the 
> flexible
> tuple version. At that point, it would probably make sense to 
> split them into
> two separate DIPs, too.
>
> [1] https://forum.dlang.org/post/q7u6g1$94p$1@digitalmars.com

https://forum.dlang.org/post/rjih3p$vj2$1@digitalmars.com




More information about the Digitalmars-d mailing list