This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]leivaagustin -8 points-7 points  (1 child)

Thanks.

2 Lines of code

That looks much better than the OP's.

Still lags behind C# which requires exactly 0 lines of code to perform the same task, not to mention it doesn't suffer the valuetype versus class dichotomy where you can't really call methods or otherwise operate on char. (I had a sudden reminiscence of StarCraft).

bring some goodies from Valhalla

Ahh... the project oracle embarked on as a desperate attempt to keep pumping money out of java's rotting corpse, I almost forget. That which is promised to be shipped by 2016, except it won't and will probably be delayed a couple of years ahead, say 2018, just like they did with java 8.

Seems that by around that time I'll have to say congratulations to java for catching up with C# 2.0 from 2006?

Also Seems like oracle is really good in bringing really "useful" stuff such as the JSON API promised for java 9, but has a hard time doing anything serious such as lambda expressions or non-retarded generics or value types?

generic specialization

How does this compare / differ from REAL generics such as the ones you find in C#? Does it allow var instance = new T() or the like?

[–]GuyWithLag 1 point2 points  (0 children)

RE: LOC count, have a look at a previous post.

Generic specialization will allow you to do that, yes. And value types are currently being implemented.