January 2018
Intermediate to advanced
434 pages
14h 1m
English
The preceding multiconditional loop can be written in Kotlin like so:
(0..9).asSequence().takeWhile { it<numbers[it] }.forEach println("$it - ${data[it]}") }
It's nice, clean, and definitely not an eyesore.
Read now
Unlock full access