https://kotlinlang.org logo
c

cedric

01/16/2017, 4:17 PM
@robin The difference is that in Kotlin, nullability is enforced by the compiler so you can't avoid it.
Optional
is a library construct that you can completely ignore if you wish. Language support of
null
is something that's pretty unique to Kotlin (and Ceylon).