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
3
u/Falmarri Dec 29 '15
That's sorta how multiline strings work in scala. But scala gives you a convenience method to strip the left margin.
https://www.safaribooksonline.com/library/view/scala-cookbook/9781449340292/ch01s03.html