3 ms·
In Kotlin there's a bunch of null-handling operators, which allows you to really treat null as None. Like x?.y()?.z(). Moreover, you can define extension functi
by mshafirov 11y ago
In Kotlin there's a bunch of null-handling operators, which allows you to really treat null as None. Like x?.y()?.z().
Moreover, you can define extension functions on nullable types, which covers Option's map and much more.