News for hackers. Stuff that matters.
Re:Java 17 / JDK 17: General Availability by Tainnor on Tuesday September 14, 2021 @12:55PM (#28527535)
what? I don't feel it's "pointless" at all. Many popular Java libraries and frameworks (including Spring) use nullability annotations which can be interpreted correctly by Kotlin. It's true that I can't be 100% sure not to get NPEs, but I think it's close enough and I've rarely seen NPEs in Kotlin codebases.
Re:Java 17 / JDK 17: General Availability by rickette on Tuesday September 14, 2021 @04:17PM (#28530480)
Indeed, Kotlin's null handling is great. NPE's in Kotlin code aren't common.