The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  Verbatim Strings
Date:  2007-01-19 10:20:28
From:  joeys


It would improve readability if the String “” could span multiple lines so that when embedding foreign language like SQL the developer would not have to break up the String with + operator. This would also make it easy to cut and past code back and forth between an SQL editor.

Regular expression would be a lot easier to read to. The expression “\(\s+\)” would not need to look like this. “\\(\\s+\\)”

C# does something like this with the @ symbol. Something like @” ”

 Feed java.net RSS Feeds