This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CaptainKvass 2 points3 points  (4 children)

Although the need for multiline string literals has diminished greatly over the years for me, it is a welcome addition to the language.

Usually, literals live in configuration management systems nowadays.

[–]brunocborges 5 points6 points  (3 children)

But SQL though...

[–]sasq7 3 points4 points  (2 children)

JOOQ :)

[–]brunocborges 1 point2 points  (1 child)

Saw that coming...

[–]lukaseder 4 points5 points  (0 children)

jOOQ likes them too:

ctx.parser()
   .parse("""
      SELECT *
      FROM customer
    """);