don't think that one more declaration is so hard t...
# vertx
c
don't think that one more declaration is so hard to deal with
Copy code
data class SomeResult(val name: String, val age: Int)

fun findPeople(): List<SomeResult> = TODO()

fun handlePeople() {
    for ((name, age) in findPeople()) {
        println("$name, $age years old")
    }
}