I wrote an article concerning Kotlin’s `Nothing` t...
# feed
a
I wrote an article concerning Kotlin’s
Nothing
type https://proandroiddev.com/kotlins-nothing-type-946de7d464fb
a
Another example would be the
TODO()
function https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-t-o-d-o.html returning
Nothing
allows it to be used everywhere (because it's a subclass of every return type) and therefor allows programs to be compiled with "missing" methods
👍 1