I share your peeve. A request for multiline string literals is over 7 years old...
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4472509
Reading the Sun bug database, it's clear who's held back Java's functionality and stability over the years: xxxxx@xxxxx, who on this issue back in 2001 wrote "This is yet another request for a syntactic sugar to save some user from typing. It's not worth it."
I hope for the good of the platform xxxxx has been let go since then.
Re:Why Python is more fun that Java
by michaelneale on Saturday August 16, 2008 @11:16PM
(#278149)
Agreed. If I ever find xxxxx@xxxxx in a dark alley, he/she better watch out.
Re:Why Python is more fun that Java
by michaelneale on Saturday August 16, 2008 @11:17PM
(#278150)
Not just string literals - but a better literal syntax for maps and arrays would be really nice.
Re:Why Python is more fun that Java
by michaelneale on Sunday August 17, 2008 @02:42AM
(#278230)
Interesting article on how to kinda sorta do it using varags, generics and static imports (looks more like scala): http://gleichmann.wordpress.com/2008/01/13/building-your-own...
My personal pet peeve against Java is the lack of multiline string literals, also available in both Python and C#.
Java has some syntactic catching up to do.