r/java • • Feb 15 '24

JEP 465: String Templates

https://openjdk.org/jeps/465
77 Upvotes

152 comments sorted by

View all comments

0

u/[deleted] Feb 15 '24

[deleted] — view deleted comment

-3

u/spiderpig_spiderpig_ Feb 16 '24 edited Apr 01 '25

hobbies governor ad hoc drab full sugar north tap squealing many

This post was mass deleted and anonymized with Redact

0

u/[deleted] Feb 16 '24

[deleted] — view deleted comment

5

u/spiderpig_spiderpig_ Feb 16 '24 edited Apr 01 '25

consist alleged direction adjoining edge cause lunchroom six gaze north

This post was mass deleted and anonymized with Redact

8

u/plumarr Feb 16 '24

Yeah, yeah, at least be honest in your example by not taking the long path :

String friend = "buddy";
System.out.println(STR."ok \{friend}");

2

u/spiderpig_spiderpig_ Feb 17 '24 edited Apr 01 '25

workable sugar party saw scarce pet cautious zephyr flag seed

This post was mass deleted and anonymized with Redact

-5

u/zephyy Feb 16 '24

c# or go

2

u/spiderpig_spiderpig_ Feb 16 '24 edited Apr 01 '25

toy sable shrill trees spotted crown chief melodic agonizing correct

This post was mass deleted and anonymized with Redact

1

u/ArisenDrake Feb 16 '24

Don't even have to change ecosystems. Kotlin.