Wednesday, December 10, 2008

Enhancing Java: multiline strings and un-escaped strings

Here's my initial proposal for enhanced String handling in Java that I would like to implement as part of the Kijaro project, which is an experimental fork of OpenJDK where Java hackers can try out new language features that they feel are missing.

Any comments are welcome!

Link to Google Doc with the specs:
http://docs.google.com/View?docid=d36kv8n_32g9zj7pdd

Quick teaser:

String sql = """
SELECT col1, col2, col3
FROM Table1
WHERE col1 = 'Test'
AND col2 = ?
ORDER BY col1""";