New candidate JEP: 430: String Templates (Preview)
Mark Reinhold
mark.reinhold at oracle.com
Tue Sep 20 18:10:20 UTC 2022
https://openjdk.org/jeps/430
Summary: Enhance the Java programming language with string
templates, which are similar to string literals but contain embedded
expressions. A string template is interpreted at run time by replacing
each expression with the result of evaluating that expression, possibly
after further validation and transformation. This is a preview language
feature and API.
- Mark
More information about the jdk-dev
mailing list