DIP 1027---String Interpolation---Community Review Round 1
Patrick Schluter
Patrick.Schluter at bbox.fr
Wed Dec 18 13:25:05 UTC 2019
On Tuesday, 17 December 2019 at 22:14:32 UTC, aliak wrote:
> On Tuesday, 17 December 2019 at 10:14:35 UTC, Patrick Schluter
> wrote:
>> On Tuesday, 17 December 2019 at 09:20:06 UTC, Jacob Carlborg
>> wrote:
>>>[...]
>> Yes, and that was the point of the exercice. Transforming the
>> interpolated "string" into a string evaluates the values of
>> the variables at the moment of that transformation. From then
>> on, there is no interpolation possible as it a simple string.
>> I suppose that what aliak leant in his comments was that the
>> string then could still be used for interpolation.
>>
>> [...]
>
> I'm pretty sure I said that I expect interpolated strings to be
> assignable to strings and that this DIP doesn't enable that.
> And people will need to understand tuples to understand what's
> happening. I'm not sure how you interpreted all the rest?
The question is, what is that string supposed to contain. The
resolved interpolation ("apple = 0") or the interpolation string
("apple = $(apple)").
More information about the Digitalmars-d
mailing list