Re:Java 17 / JDK 17: General Availability
by thinkharderdev on Tuesday September 14, 2021 @12:53PM
(#28527498)
I think it is certainly possible. In Scala you enable "explicit nulls" and it will not compile if you try to set a value to null (https://dotty.epfl.ch/docs/reference/other-new-features/expl...) without making the type a union with Null.
[ Parent
| on HN ]
There are no comments on this comment yet.