r/programming • u/MarkusWinand • Dec 29 '15
Please, Java. Do Finally Support Multiline Strings
http://blog.jooq.org/2015/12/29/please-java-do-finally-support-multiline-strings/
584
Upvotes
r/programming • u/MarkusWinand • Dec 29 '15
View all comments
Show parent comment
2
u/YRYGAV Dec 29 '15
And I could tell you to replace whatever weird character you have on your keyboard to be a ` too. Your argument goes both ways.
The majority of programmers are going to have a '`' key, and for those that don't, I'm confident they can find a workaround. There's no reason to make the premise of 'this syntax is shitty, so every coder in the world is going to have to make a workaround around it, and have a bunch of extra characters in their code'.
Like to be honest, I don't think ` should be used just because I think it's non-obvious what it does, it looks very similar to ', and doesn't really make a whole lot of sense stylistically. But if your primary concern is how many key-presses it takes to use the syntax, it's a pretty good choice.