Syntax question for JEP 430: String Templates
Octavia Togami
octavia.togami at gmail.com
Mon Apr 10 23:39:20 UTC 2023
Hi,
I was reading this portion of the alternatives section:
> For the syntax of embedded expressions we considered using ${...}, but that would require a tag on string templates (either a prefix or a delimiter other than ") to avoid conflicts with legacy code.
And it seems that this is no longer a valid reason, as per [1] there
is always a required prefix anyways. Is there another reason to avoid
using this syntax now?
Thanks,
Octavia
[1]: https://mail.openjdk.org/pipermail/amber-spec-experts/2022-October/003631.html
More information about the amber-spec-comments
mailing list