Update on String Templates (JEP 459)

Brian Goetz brian.goetz at oracle.com
Wed Mar 13 21:25:21 UTC 2024


That is how it works in the current version, and this behavior would be 
carried forward.  Otherwise, it is a form of implicit interpolation, 
which goes against the goals of the project.

On 3/13/2024 5:12 PM, Guy Steele wrote:
> That reminds me: I would recommend that the instance method `toString` for class StringTemplate_not_
>   be the same as `String.of(Template)`; rather, it should print in some
> form that shows the internal structure of the StringTemplate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-observers/attachments/20240313/bc9d1caa/attachment.htm>


More information about the amber-spec-observers mailing list