Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2
Dukc
ajieskola at gmail.com
Wed Feb 3 20:36:44 UTC 2021
On Wednesday, 3 February 2021 at 16:38:15 UTC, Steven
Schveighoffer wrote:
> First, I'd suggest instrumenting the positions instead of the
> data, since that's the exceptional case:
>
> [snip]
>
> And now, you can use interpolation strings as the "things to
> write" without ambiguity. You can even use a single
> interpolation string (with the positions being interpolation
> parameters). I would say the non-interpolation form is better
> for when you are just passing in parameters, and the
> interpolation form is great when you want, well, interpolations.
>
> I get the thrust of what you are saying. But technically, if
> you are having to reengineer the function to deal with
> interpolation strings, you should rethink how the API works.
Good, obviously you got the point and your answer sounds
convincing enough that I don't think there's need for me to argue
about that one any further.
More information about the Digitalmars-d
mailing list