3 ms·
This seems a little too magical for Java - normally indentation doesn’t have programmatic meaning like this in Java. I prefer the Scala approach: https://alvina
by yashap 6y ago
This seems a little too magical for Java - normally indentation doesn’t have programmatic meaning like this in Java. I prefer the Scala approach: https://alvinalexander.com/scala/how-to-create-multiline-strings-heredoc-in-scala-cookbook/ https://alvinalexander.com/scala/how-to-create-multiline-str...
Just seems more obvious/clear.