News for hackers. Stuff that matters.
Re:JDK 10: General Availability by pjmlp on Wednesday March 21, 2018 @07:47AM (#16637171)
Variables declared with var are still strongly typed. Just because the keyword exists in JavaScript, it doesn't mean it has the same semantic meaning.

    var p = new Person();
    
    p = 1234; // This will trigger a compile time error

There are no comments on this comment yet.