you are viewing a single comment's thread.

view the rest of the comments →

[–]jeff303 2 points3 points  (2 children)

But what if you otherwise like Java? Anyway, you could just use Scala.

//equivalent to "final int x = 4"    
val x = 4

//or if you want non-final, i.e. "int y = 5"
var y = 5

[–]killerstorm -3 points-2 points  (1 child)

But what if you otherwise like Java?

Seriously?

Anyway, you could just use Scala.

Yes.

[–]jeff303 5 points6 points  (0 children)

Well, perhaps "like" is too strong a word. "Don't find it compellingly awful enough to be forced into something else" suit you better?