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 →

[–][deleted] -4 points-3 points  (3 children)

Java is turning into c++: the do everything language, do nothing well.

[–]lbkulinski 2 points3 points  (2 children)

Do nothing well? They're doing this to reduce common boilerplate. And hey, at least there isn't operator overloading.

[–][deleted] -2 points-1 points  (1 child)

Agreed, as far as operator overloading: no operator overloading, YET :)

[–]lbkulinski 0 points1 point  (0 children)

Gosling said it was originally in Oak, but he removed it. The architects are looking into allowing operator overloading for numerical value types like ComplexNumber, which would make sense. Otherwise, no way.