Animesh Sahu
return when { cond1 -> try { something() } catch (e: Exception) { TODO() /* Goto cond2 */ } cond2 -> TODO() else -> throw RuntimeException("Whatever reason") }
Marc Knaup
condX
cond2
onCond2()
ephemient
when
Rob Elliot
break
continue
switch
A modern programming language that makes developers happier.