The JEPs/enhancements: http://openjdk.java.net/projects/jdk/16/
The page returned a 500 for me, bad omen for Java 16? :)
Java 16
11–20 of 327 posts
Re: Java 16
#12Records and Sealed Classes are borrowed from Scala.
Could be not the best news for new Scala adoption, but good news for developers having better abstractions in Java
Edit: Kotlin, and other languages should also mentioned since they also include similar features. I still think Scala has had the most influence over the years.
Re: Java 16
#13Re: Java 16
#14Why they decided to change the keyword rules to use "non-sealed" is beyond me. Surely, there might be other choices? Closed/unclosed? Unsealed?
Re: Java 16
#15Why they decided to change the keyword rules to use "non-sealed" is beyond me. Surely, there might be other choices? Closed/unclosed? Unsealed?
Yes. It feels out-of-place. All other keywords are like one word: enum, class, public, protected, native, sealed, ... But looks entirely different: Two words, connected by a hyphen. But I think, it was done because of backwards compatibility. If they would have called it "closed", it would maybe break hundreds of programs that have methods/variables called "closed"
Re: Java 16
#16I love the Java website. Strong early-2000s vibes. Still has an XHTML doctype!
Re: Java 16
#17Re: Java 16
#18Curious how many folks here experimented with the now depreciated Ahead-of-Time Compilation feature?
Re: Java 16
#19Site is dying with 500.
Re: Java 16
#20Very cool to see that Scala continues to have a huge impact on Java’s roadmap. Records and Sealed Classes are borrowed from Scala. Could be not the best news for new Scala adoption, but good news for developers having better abstractions in Java Edit: Kotlin, and other languages should also mentioned since they also include similar features. I still think Scala has had the most influence over the years.