|
|
|
|
|
by cromwellian
3351 days ago
|
|
To me the biggest missing features are not this but: * heredoc/multiline string/embedded interpolated strings
* concise array, map, and object literal initializers.
* structural/anonymous types Simple things like multivalue return become an exercise in boilerplate in Java. As much as I like Immutables.org or @AutoValue, I should be able to return a struct or use destructuring operations at the callsite. The hack in Java is to use annotation processors to provide nice fluent builder patterns, but really the language should have first class support for this. |
|
http://openjdk.java.net/jeps/269 Just a few more month.
Still nothing for the other two, but 1/3 is better than nothing.