groostav
02/06/2017, 7:13 PMNothing
has always been a big deal to them and I didnt really understood why until kotlin
Doing kotlin things like
val something = nullablueValue ?: throw BlamException("fix your params!")
val result = whatevers.map {
it.someExpression() ?: run { log("no good whatever: $it") return; }
}
is both nifty and convenient.