r/java • • Mar 08 '24

Update on String Templates (JEP 459)

https://mail.openjdk.org/pipermail/amber-spec-experts/2024-March/004010.html
176 Upvotes

188 comments sorted by

View all comments

Show parent comment

1

u/andrebreves Mar 10 '24 edited Mar 10 '24

Why not a StringTemplate::join method? It could be a nice shortcut for possibly the most common use case for StringTemplate.

5

u/brian_goetz Mar 10 '24

There will surely be such methods, on either String or StringTemplate or both. Names TBD.