String Interpolation
Walter Bright
newshound2 at digitalmars.com
Thu Oct 26 00:24:33 UTC 2023
On 10/25/2023 12:09 PM, Adam D Ruppe wrote:
> And newer additions to languages try to do it right:
>
> https://openjdk.org/jeps/430
The money shot:
"The design of template expressions deliberately makes it impossible to go
directly from a string literal or text block with embedded expressions to a
String with the expressions' values interpolated. This prevents dangerously
incorrect strings from spreading through a program."
More information about the Digitalmars-d
mailing list