Ok, this is just hilarious :)


#1

Just watched kotlinconf puzzlers video

//sampleStart
fun f(): String {
    return throw return throw return "asd"
}
//sampleEnd

fun main(args: Array<String>) {
    println(f())
}

PS it is valid code, that compiles


#2

For anyone having trouble locating that video, here’s the link.

A puzzler in itself is why it takes Anton about 100 seconds before he says anything!