Feedback Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2
Adam D. Ruppe
destructionator at gmail.com
Wed Feb 3 20:12:24 UTC 2021
On Wednesday, 3 February 2021 at 20:02:57 UTC, Daniel N wrote:
> Wouldn't this lowering be both simpler and more more efficient?
Your change wouldn't expose the string for compile time
processing.
That's the real benefit of interp!"string" - it is available for
CTFE rewriting by the function. So putting that on the whole
thing means a whole format string or translation string or
whatever else can be CTFE generated, inspected, etc.
> 2) Also no fan of using abbreviated type-names(interp) in
> userfacing API:s
yeah, it is ambiguous with "interpretation" too.
More information about the Digitalmars-d
mailing list