Funny post, but seriously, multi-line strings in Java are a terrible idea. Anyone who needs a multi-line string is embedding output in a .java / .class file, which is the wrong thing to do, especially if it's long text. Put your output in a resource bundle or properties file.
Comments
bloid replied ago:
Cool :-)
At the moment, I fall into the "Junkies and Dead-ends" group...
dzonelurker replied ago:
Java will destroy itself.
ChiralSoftware replied ago:
Funny post, but seriously, multi-line strings in Java are a terrible idea. Anyone who needs a multi-line string is embedding output in a .java / .class file, which is the wrong thing to do, especially if it's long text. Put your output in a resource bundle or properties file.
Voters For This Link (14)
Voters Against This Link (3)