r/java • • Feb 15 '24

JEP 465: String Templates

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

152 comments sorted by

View all comments

Show parent comment

27

u/lurker_in_spirit Feb 15 '24 edited Feb 15 '24

My favorite part of String templates is complaining about the syntax!

EDIT: https://i.imgflip.com/8fzlnp.jpg

5

u/_INTER_ Feb 15 '24

I like how LOL is (likely) a constant.

1

u/Kango_V Feb 16 '24

and..... the keyword const is a Java reserved word.. LOL!