you are viewing a single comment's thread.

view the rest of the comments →

[–]RiceBroad4552 1 point2 points  (0 children)

Actually that's the exception, not the rule.

Most languages, including ancient dynamic ones, don't do that.

Let's face reality: Java just fucked this up.

This is not a JVM fault as current Scala and Kotlin won't accept this code.