August 02

That's funny to see Java being modernized before D

Pattern matching, and now nullable types with the introduction of '?' and '!'

https://bugs.openjdk.org/browse/JDK-8303099

If you know DMD, submit your PR today

August 02
On 02/08/2024 10:26 PM, ryuukk_ wrote:
> That's funny to see Java being modernized before D
> 
> Pattern matching, and now nullable types with the introduction of '?' and '!'
> 
> https://bugs.openjdk.org/browse/JDK-8303099
> 
> 
> If you know DMD, submit your PR today

It is not exactly surprising that Java is getting nullability type state representation in the language.

Other JVM languages have had it for around 15 years and it appears to be useful information for optimization.