Dave Leeds
10/30/2017, 10:52 PMOptional
to Kotlin's null-safety features.
https://typealias.com/guides/java-optionals-and-kotlin-nulls/artem_zin
10/30/2017, 11:02 PMThere might still be one case when you’d use an Optional in KotlinSecond case is when API you’re working with doesn’t support null values, like RxJava 2 Plus you can add that Kotlin nullable saves an allocation in compare to Optional in exchange to != null checks added by compiler (although Optional needs to be dereferenced, so Kotlin nullable should win overall) Other than that — really good migration guide 👍
raulraja
10/30/2017, 11:06 PMartem_zin
10/30/2017, 11:08 PM<https://github.com/gojuno/koptional>
Dave Leeds
10/31/2017, 12:57 AMartem_zin
10/31/2017, 1:00 AMraulraja
10/31/2017, 2:12 AMartem_zin
10/31/2017, 2:25 AMOleksii
10/31/2017, 2:17 PMraulraja
10/31/2017, 2:26 PMDave Leeds
10/31/2017, 5:26 PM