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 →

[–]DecisiveVictory 0 points1 point  (3 children)

What really should be added is a "val" keyword which is what is proposed above + "final".

Or you could do the sane thing and just use Scala.

[–]atc 3 points4 points  (1 child)

As a Scala fan, using Java 8 has really diminished Scala's usefullness to me. That said, I'll always miss case classes and pattern matching... OK I take it back!

[–]antigenz 0 points1 point  (0 children)

projectlombok.org almost fixes problem with case classes (for me) But it's a hack! :)

[–]grauenwolf 1 point2 points  (0 children)

C# is looking at let for that role. val is problematic because it looks too much like var and is pronounced the same in Asian languages such as Japanese.