4 ms·
It is the mixture that is all wrong, and it is that mixture that you do not get in Scala or Kotlin. Why don't we get that mixture in Scala? final is a valid ke
by merb 11y ago
It is the mixture that is all wrong, and it is that mixture that you do not get in Scala or Kotlin.
Why don't we get that mixture in Scala? final is a valid keyword there, too.
scala> final var x = "y"
x: String = y
This works, even when it's not used. This would be just a matter of time in Java when nobody will use the `final var`.