MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/it9lw9/java_15_released/g5f0ppb/?context=3
r/programming • u/[deleted] • Sep 15 '20
130 comments sorted by
View all comments
50
I don't use it anymore, but boy am I happy because it finally got multiline strings (text blocks). Writing a raw SQL will be so much easier and readable.
-5 u/x6060x Sep 15 '20 I'm not sure if you are joking. Especially without the /s tag. 7 u/pavelrappo Sep 15 '20 In Text Blocks sarcasm is marked with "\s". 1 u/s888marks Sep 16 '20 No, in Text Blocks "\s" is just a space. Sarcasm is denoted by "\\s". 1 u/pavelrappo Sep 17 '20 I stand by my original reply. "foo bar".replaceAll(""" \s """, ""); Perfection!
-5
I'm not sure if you are joking. Especially without the /s tag.
7 u/pavelrappo Sep 15 '20 In Text Blocks sarcasm is marked with "\s". 1 u/s888marks Sep 16 '20 No, in Text Blocks "\s" is just a space. Sarcasm is denoted by "\\s". 1 u/pavelrappo Sep 17 '20 I stand by my original reply. "foo bar".replaceAll(""" \s """, ""); Perfection!
7
In Text Blocks sarcasm is marked with "\s".
1 u/s888marks Sep 16 '20 No, in Text Blocks "\s" is just a space. Sarcasm is denoted by "\\s". 1 u/pavelrappo Sep 17 '20 I stand by my original reply. "foo bar".replaceAll(""" \s """, ""); Perfection!
1
No, in Text Blocks "\s" is just a space. Sarcasm is denoted by "\\s".
1 u/pavelrappo Sep 17 '20 I stand by my original reply. "foo bar".replaceAll(""" \s """, ""); Perfection!
I stand by my original reply.
"foo bar".replaceAll(""" \s """, "");
Perfection!
50
u/[deleted] Sep 15 '20
I don't use it anymore, but boy am I happy because it finally got multiline strings (text blocks). Writing a raw SQL will be so much easier and readable.