jasoet-gdp
01/22/2016, 9:20 AMNothing
jasoet-gdp
01/22/2016, 9:21 AMfun somMethod():UserDetail=Nothing
mplatvoet
01/22/2016, 9:21 AMmplatvoet
01/22/2016, 9:22 AMjasoet-gdp
01/22/2016, 9:26 AMdmitry.petrov
01/22/2016, 9:30 AMNothing
is also a subtype of every other type.
And to mark a method "still pending", Kotlin has TODO()
.Eugenio
01/22/2016, 9:34 AMNothing
is for when a function will never return, like when it throws an exception every time, otherwise it will be Unit
(like void
in Java)mplatvoet
01/22/2016, 9:44 AMnatpryce
01/22/2016, 10:23 AMNothing
do?netme
01/22/2016, 11:09 AMevanchooly
01/22/2016, 1:42 PMNothing
sounds like a fancified null
dmitry.petrov
01/22/2016, 1:43 PMevanchooly
01/22/2016, 1:43 PMevanchooly
01/22/2016, 1:44 PMdmitry.petrov
01/22/2016, 1:45 PM[[noreturn]]
.natpryce
01/22/2016, 2:24 PMevanchooly
01/22/2016, 2:25 PMevanchooly
01/22/2016, 2:25 PMnatpryce
01/22/2016, 2:30 PMevanchooly
01/22/2016, 2:33 PMevanchooly
01/22/2016, 2:33 PMnatpryce
01/22/2016, 2:42 PMevanchooly
01/22/2016, 2:42 PMevanchooly
01/22/2016, 2:43 PMmikehearn
01/22/2016, 2:48 PMmikehearn
01/22/2016, 2:48 PMmikehearn
01/22/2016, 2:48 PMevanchooly
01/22/2016, 2:54 PM!!!
evanchooly
01/22/2016, 2:55 PMmikehearn
01/22/2016, 3:01 PM