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
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
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!