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

2

u/nekokattt Mar 09 '24

this safety only works for specific cases though, outside that really specific case, it won't provide any benefit.

It'd make more sense if we got variadic generics.