Y
Hacker News
new
|
ask
|
show
|
jobs
by
Jenkins2000
1635 days ago
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.
1 comments
oweiler
1626 days ago
You can chain Optional exactly the same as Kotlin but without the syntay suger ofc.
link