elye
11/28/2017, 5:11 AMvoddan
11/28/2017, 8:23 AMapply
in cases like takeIf { status }?.apply { doThis() }
? I mean, you don't use the modified this
, and you don't apply anything to anything. You just run some code. Like takeIf { status }?.run { doThis() }
😉diego-gomez-olvera
11/28/2017, 8:41 AMif
for immutable `val`as it is more readable for newcomers to Kotlin