3 ms·
Not entirely true - e.g. Kotlin has null safety built into its type system, and I find it much nicer than the option/optional approaches used in various other l
by chris_overseas 2y ago
Not entirely true - e.g. Kotlin has null safety built into its type system, and I find it much nicer than the option/optional approaches used in various other languages.
https://kotlinlang.org/docs/null-safety.html https://kotlinlang.org/docs/null-safety.html
- josephg 2y agoLooks similar to the syntax in Swift. I agree - it’s much nicer than all the mucking around you need to do in rust. It’ll never happen, but I wish rust added this kind of sugar on top of Option.