MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1aros51/jep_465_string_templates/kql1zig/?context=3
r/java • u/Joram2 • Feb 15 '24
152 comments sorted by
View all comments
7
everyone's favorite new feature: String templates. Final for Java 23 :)
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!
27
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!
5
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!
1
and..... the keyword const is a Java reserved word.. LOL!
const
7
u/Joram2 Feb 15 '24
everyone's favorite new feature: String templates. Final for Java 23 :)