News for hackers. Stuff that matters.
Re:Java is not a safe language by Jenkins2000 on Monday June 13, 2022 @08:34PM (#31733438)
I still write null checks if needed but for deeply nested objects, it comes down to only checking for null at the end of the chain instead of in Java where you have null checks each step of the way.
Re:Java is not a safe language by oweiler on Wednesday June 22, 2022 @04:11AM (#31833269)
You can chain Optional exactly the same as Kotlin but without the syntay suger ofc.