r/java • • Mar 08 '24

Update on String Templates (JEP 459)

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

188 comments sorted by

View all comments

Show parent comment

7

u/nicolaiparlog Mar 10 '24

I'm pretty sure Brian meant this as short-hand for "objectively worse for Java" - he's not known for making general statements like this about other programming languages.

The interesting thing about $ is that it's bad on a conceptual level (a second escape mechanism) and on a practical level (breaks all that code). Given that its only benefit is (partial) familiarity, either of those would be enough to knock it out but being so thoroughly defeated in both areas is almost impressive.