3 ms·
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
by Jenkins2000 4y 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.
- oweiler 4y agoYou can chain Optional exactly the same as Kotlin but without the syntay suger ofc.