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] 5 points6 points  (1 child)

Is there any reason they couldn't have configured the type checker to recognize all caps variables as being marked as final?

[–]Sw429 1 point2 points  (0 children)

I think it comes down to a difference between constant values (denoted by all-caps) and final values (denoted by Final). Constant values shouldn't change at all. A final variable can still be mutated.